码迷,mamicode.com
首页 >  
搜索关键字:curling 2.0    ( 70个结果
POJCurling 2.0(冰壶游戏)(DFS)
Curling 2.0 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 12490   Accepted: 5265 Description On Planet MM-21, after their Olympic games this year, curlin...
分类:Web程序   时间:2015-01-21 22:40:06    阅读次数:281
poj3009--Curling 2.0(搜索练习1)
Curling 2.0 Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64u Submit Status   Appoint description:  System Crawler  (2013-02-19) Description On Planet M...
分类:Web程序   时间:2015-01-21 22:31:32    阅读次数:307
dfs/poj 3009 Curling 2.0
1 #include 2 using namespace std; 3 4 const int dx[4]={0,1,0,-1}; 5 const int dy[4]={1,0,-1,0}; 6 7 int m,n,ans,ex,ey,sx,sy; 8 int a[22][22]; 9 10 ...
分类:Web程序   时间:2014-12-03 00:03:38    阅读次数:193
poj3009 Curling 2.0 深搜
PS:以前看到题目这么长就没写下去了。今天做了半天,没做出来。准备看题解,打开了网站都忍住了,最后还是靠自己做出来的。算是一点进步吧。分析: 题目的意思没明白或者理解有偏差都没办法做题。看样例3和样例4,数据差不多的,但是一个输出4,但是另外的一个却是-1。再去看题目就会发现,题目的意思是在撞碎石....
分类:Web程序   时间:2014-11-21 23:12:10    阅读次数:304
POJ 3009-Curling 2.0(DFS)
Curling 2.0 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 12158   Accepted: 5125 Description On Planet MM-21, after their Olympic games this year, curling ...
分类:Web程序   时间:2014-11-19 14:14:52    阅读次数:336
POJ3009 Curling 2.0
Curling 2.0 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 12074   Accepted: 5088 Description On Planet MM-21, after their Olympic games this year, curlin...
分类:Web程序   时间:2014-11-05 19:42:15    阅读次数:198
POJ3009——Curling 2.0(DFS)
Curling 2.0DescriptionOn Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours...
分类:Web程序   时间:2014-10-30 20:47:35    阅读次数:355
POJ3009 Curling 2.0(DFS)
迷宫问题求最短路。略有不同的是如果不碰到石头的话会沿着一个方向一直前进,出界就算输了。碰到石头,前方石头会消失,冰壶停在原地。把这个当作状态的转移。DFS可以求出其最小操作数。 #include #include #include #include #include #include #include #include #define ll __int64 #define INF 0x3f3f3...
分类:其他好文   时间:2014-10-06 17:32:40    阅读次数:166
poj 3009 Curling 2.0 (dfs )
Curling 2.0 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 11879   Accepted: 5028 Description On Planet MM-21, after their Olympic games this year, curlin...
分类:其他好文   时间:2014-10-05 19:24:58    阅读次数:206
poj 3009 Curling 2.0 深搜
http://poj.org/problem?id=3009题意:一个小球在一个格子里滑行,当你给它一个力时,他会一直滑,直到前方碰到一个雪球停止,这时前方的雪球会消失,你继续给该小球任意一个方向的力。。。问至少需要几步才能到达到终点。分析: 一般在求 最短路 时会用到 广搜,但是 本题 在...
分类:其他好文   时间:2014-09-25 15:41:59    阅读次数:299
70条   上一页 1 ... 4 5 6 7 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!