
poj
文章平均质量分 85
xgogoforit
这个作者很懒,什么都没留下…
展开
-
poj 3253 木板分割
题目连接http://poj.org/problem?id=3253DescriptionFarmer 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,原创 2016-03-15 22:19:46 · 994 阅读 · 1 评论 -
POJ 1611非典传染[并查集]
题目连接http://acm.hust.edu.cn/vjudge/problem/10536Sample Input100 4 2 1 2 5 10 13 11 12 14 2 0 1 2 99 2 200 2 1 5 5 1 2 3 4 5 1 0 0 0Sample Output4 1 1题意0号学生是,非典传染源,与他同组的学生都有感染非典的嫌疑,找出所有有嫌疑的学生。原创 2016-08-05 10:01:28 · 491 阅读 · 0 评论 -
POJ 2352[树状数组]
题目连接http://acm.hust.edu.cn/vjudge/problem/14610Sample Input5 1 1 5 1 7 1 3 3 5 5Sample Output1 2 1 1 0Hint数据量极大,建议不要用cin读入数据,用scanf读入。题意给出所有星星的坐标位置,问每个星星的左下方有多少个星星。题解题目数据的给定是按照x,y坐标递增给定的,不需要重新原创 2016-08-04 16:49:54 · 280 阅读 · 0 评论 -
POJ 3258 小牛过河 二分搜索最大的最小值
题目连接http://poj.org/problem?id=3258DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement tak原创 2016-04-10 10:14:46 · 478 阅读 · 0 评论 -
POJ 1979 红与黑 优先深度搜索
题目连接http://poj.org/problem?id=1979DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can mov原创 2016-03-27 22:31:25 · 352 阅读 · 0 评论 -
POJ刷题顺序
1000 A+B Problem 0.55 188072 338977 1004 Financial Management 0.41 58282 140301 1003 Hangover 0.48 50457 103742 1002 487-3279 0.17 43922 247299 1005 I Think I Need a Houseboat 0.43 38343 88354 100转载 2016-03-27 12:34:03 · 13085 阅读 · 0 评论 -
POJ 3167 字典序最小问题
题目连接http://poj.org/problem?id=3617DescriptionFJ 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 h原创 2016-03-12 11:25:02 · 321 阅读 · 0 评论 -
POJ3069左右点贪心 贪心
题目连接http://poj.org/problem?id=3069DescriptionSaruman 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, kno原创 2016-03-17 22:18:51 · 298 阅读 · 0 评论 -
POJ2386水洼问题 优先深度搜索
题目连接http://poj.org/problem?id=2386DescriptionDue 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)原创 2016-03-12 09:41:01 · 1227 阅读 · 0 评论 -
POJ3723 招募士兵[最小生成树]
题目连接http://poj.org/problem?id=3723DescriptionWindy has a country, and he wants to build an army to protect his country. He has picked up N girls and M boys and wants to collect them to be his soldiers.原创 2016-08-09 19:41:43 · 769 阅读 · 0 评论