eppsnet.com
Competitive Programming: SPOJ – Build the Fence
At the beginning of spring all the sheep move to the higher pastures in the mountains. If there are thousands of them, it is well worthwhile gathering them together in one place. But sheep don&#821…