Some problems from poj, zoj, uva and sgu.