eppsnet.com
Competitive Programming: POJ 2195 – Going Home
Description On a grid map there are n little men and n houses. In each unit time, every little man can move one unit step, either horizontally, or vertically, to an adjacent point. For each little …