POJ
飞翔的荷兰人灬
阁下何不乘风起,扶摇直上九万里
展开
-
POJ-3617 Best Cow Line
Description FJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual”Farmer of the Year” competition. In this contest every farmer arranges his cows in a line and herds them past the judges.The co原创 2016-06-25 15:36:32 · 306 阅读 · 0 评论 -
POJ-3069 Saruman's Army
DescriptionSaruman the White must lead his army along a straight path from Isengard to Helm’s Deep. To keep track of his forces, Saruman distributes seeing stones, known as palantirs, among the troop原创 2016-06-28 17:31:47 · 257 阅读 · 0 评论 -
POJ-3253 Fence Repair
Description Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,000) planks of wood, each having some integer length原创 2016-07-02 19:39:51 · 320 阅读 · 0 评论 -
POJ-2386 Lake Counting
Description Due to recent rains, water has pooled in various places in Farmer John’s field, which is represented by a rectangle of N x M (1 <= N <= 100; 1 <= M <= 100) squares . Each square contains e原创 2016-06-23 16:42:07 · 332 阅读 · 0 评论 -
POJ-1852 Ants
An army of ants walk on a horizontal pole of length l. cm, each with a constant speed of 1 cm/s. When a walking ant reaches an end of the pole, it immediatelly falls off it. When two ants meet they tur原创 2016-06-21 18:02:57 · 526 阅读 · 0 评论