UVa 558 accepted
Merge branch 'master' of https://github.com/cshung/Competition