Solutions to problems proposed at http://uva.onlinejudge.org