Problems solved on http://uva.onlinejudge.org