solution to UVA 719
Merge branch 'master' of https://github.com/miciek/problem-hunting