User:Sweepline/UVa 10909.cpp