Solutions to problems @ http://uva.onlinejudge.org/