码迷,mamicode.com
首页 >  
搜索关键字:curling 2.0    ( 70个结果
POJ 3009 深搜
?? D - Curling 2.0 Time Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64u SubmitStatusPracticePOJ 3009 Description On Planet MM-21, after their Olympic games thi...
分类:其他好文   时间:2015-08-30 12:54:55    阅读次数:164
poj 3009 DFS +回溯
Curling 2.0 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 14567   Accepted: 6082 Description On Planet MM-21, after their Olympic games this year, curlin...
分类:其他好文   时间:2015-08-27 16:50:20    阅读次数:213
poj3009 Curling 2.0 (DFS按直线算步骤)
Curling 2.0Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 14563Accepted: 6080DescriptionOn Planet MM-21, after their Olympic games this year...
分类:Web程序   时间:2015-08-26 21:51:45    阅读次数:159
POJ-3009 Curling 2.0 (DFS)
DescriptionOn Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game ...
分类:Web程序   时间:2015-08-13 10:02:08    阅读次数:170
【DFS】POJ3009-Curling 2.0
【题目大意】给出一张地图,一旦往一个方向前进就必须一直向前,直到一下情况发生:(1)碰到了block,则停在block前,该block消失;(2)冲出了场地外;(3)到达了终点。改变方向十次以上或者冲出场外都判输,问至少几步能到达终点,无法到达输出-1。【思路】DFS,往四个方向搜索,每次不断向前直...
分类:Web程序   时间:2015-08-08 12:01:01    阅读次数:163
POJ 3009:Curling 2.0
Curling 2.0 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 14090   Accepted: 5887 Description On Planet MM-21, after their Olympic games this year, curlin...
分类:Web程序   时间:2015-07-30 09:32:13    阅读次数:121
poj 3009 Curling 2.0 (DFS)
Curling 2.0 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 13765   Accepted: 5760 Description On Planet MM-21, after their Olympic games this year, curlin...
分类:Web程序   时间:2015-07-09 13:17:59    阅读次数:102
POJ 3009 Curling 2.0 回溯,dfs 难度:0
http://poj.org/problem?id=3009如果目前起点紧挨着终点,可以直接向终点滚(终点不算障碍)#include #include using namespace std;const int maxn = 21;int maz[maxn][maxn];int n,m;const ...
分类:Web程序   时间:2015-06-05 22:22:34    阅读次数:153
poj3009 Curling 2.0(DFS回溯)
题目大意是:给你一个球,刚开始是静止的,可以通过触碰给他一个初速度,一旦球运动起来就不会停止,除非遇到一个石头。遇到石头以后小球就原地停止了,然后石头就被砸碎了。小球越界就算失败了。问你最少进行多少次操作,可以让小球到达终点。题中还有一个要求,如果超过10步,就算失败了。 这道题目做了好久啊。可能方法太麻烦了。 #include #include int map[105][105],si,...
分类:Web程序   时间:2015-06-04 22:54:12    阅读次数:146
poj3009 Curling 2.0
Description On Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game is played on an ice game board on which a squa...
分类:Web程序   时间:2015-06-04 22:50:42    阅读次数:190
70条   上一页 1 2 3 4 5 6 7 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!