Codechef and UVA

Codechef July 2014 Long Contest
UVA Search Level 1