挑战程序设计竞赛
U_Itachi_
这个作者很懒,什么都没留下…
展开
-
贪心算法——Saruman‘s Army(POJ 3069)
题目连接http://poj.org/problem?id=3069Saruman‘s Army(POJ 3069)题目描述Saruman the White must lead his army along a straight path from Isengard to Helm’s Deep. To keep track of his forces, Saruman dist...原创 2018-11-03 19:59:45 · 503 阅读 · 0 评论 -
简单贪心算法——字典序最小问题(Best Cow Line POJ3617)
题目连接http://poj.org/problem?id=3617Best Cow Line POJ3617题目描述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 h...原创 2018-11-02 19:58:45 · 468 阅读 · 0 评论 -
贪心算法——Fence Repair(POJ 3253)
题目连接http://poj.org/problem?id=3253Fence Repair(POJ 3253)题目描述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 ≤...原创 2018-11-08 11:34:48 · 327 阅读 · 0 评论