Solution of problems in http://uva.onlinejudge.org/