solutions to problems on UVA, ZOJ, CodeForces etc.