uva-11404.cpp Accepted and Described