uva501 ac
uva10954 ac
uva11995 ac
poj1338 poj3481 AC
codeforce #232 div2 A B