POJ
被水淹死的阿基米德
这个作者很懒,什么都没留下…
展开
-
[dfs] POJ 1979 Red and Black
题目 Red and Black Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 51478 Accepted: 27323 Description There is a rectangular room, covered with square tiles. Each tile is colored either red ...原创 2019-09-06 12:06:25 · 65 阅读 · 0 评论 -
【贪心】 POJ 2393 Yogurt factory
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 ...转载 2019-09-15 21:00:12 · 124 阅读 · 0 评论 -
【贪心】POJ 3190 Stall Reservations
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 ...转载 2019-09-15 11:08:15 · 87 阅读 · 0 评论 -
【贪心】POJ 1328 Radar Installation
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 ...转载 2019-09-10 20:39:41 · 76 阅读 · 0 评论 -
POJ 3050 Hopscotch
原文 原作者: alex1997222 ...转载 2019-09-10 12:15:02 · 86 阅读 · 0 评论 -
POJ 2718 Smallest Difference
题目 Smallest Difference Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 19791 Accepted: 5395 Description Given a number of distinct decimal digits, you can form one integer by choosing a n...原创 2019-09-09 22:38:06 · 85 阅读 · 0 评论 -
[bfs] POJ 3669 Meteor Shower
题目 Meteor Shower Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 31700 Accepted: 8158 Description Bessie hears that an extraordinary meteor shower is coming; reports say that these meteor...原创 2019-09-08 17:30:59 · 110 阅读 · 0 评论 -
[dfs] POJ 3009 Curling 2.0
题目链接 思路:首先我们从题目中知道球在一次运动种有3种状态: 1. 超出边界,即(i<0 || i>=h || j<0 || j>=w); 2. 碰撞方块,将方块撞碎的同时自身停在前一个位置; 3. 经过终点,此时立刻停在终点。 P.S.当球静止在某个方块旁时,此时不能通过一步移动来击碎此方块 所以在dfs()时可以用一个函数来模拟球的运动轨迹,从而判断是继续递归(对应②...原创 2019-09-07 11:15:03 · 97 阅读 · 0 评论 -
【贪心】POJ 3262 Protecting the Flowers
题目 链接???? Protecting the Flowers Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 11716 Accepted: 4762 Description Farmer John went to cut some wood and left N (2 ≤ N ≤ 100,000) cows eating t...原创 2019-10-06 16:28:12 · 96 阅读 · 0 评论