码迷,mamicode.com
首页 >  
搜索关键字:knight moves    ( 435个结果
POJ 1915: Knight Moves
Knight Moves Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 21362 Accepted: 9926 Description Background Mr Somurolov, fabulous chess-gamer indeed...
分类:其他好文   时间:2014-07-18 23:12:55    阅读次数:280
POJ 2243 || HDU 1372:Knight Moves(BFS)
Knight Moves Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11223 Accepted: 6331 Description A friend of you is doing research on the Traveling Knig...
分类:其他好文   时间:2014-07-18 23:11:51    阅读次数:276
poj 2488 A Knight's Journey(dfs+字典序路径输出)
poj 2488 A Knight's Journey(dfs+字典序路径输出)...
分类:其他好文   时间:2014-07-18 22:09:34    阅读次数:244
POJ 2243 || HDU 1372:Knight Moves(BFS)
简单搜索 直接代码: #include #include #include #include using namespace std; char a,c; int e,f; int dx[8] = {-2, -2, -1, -1, 1, 1, 2, 2}; int dy[8] = {-1, 1, -2, 2, -2, 2, -1, 1}; int qq[9][9]; struct node {...
分类:其他好文   时间:2014-07-17 19:05:30    阅读次数:265
poj2243Knight Moves宽搜
#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;int dx[]={-2,-1,1,2,-2,-1,1,2};int dy[]={1...
分类:其他好文   时间:2014-07-16 18:19:53    阅读次数:172
H - Gold Coins(2.4.1)
H - Gold Coins(2.4.1) Time Limit:1000MS     Memory Limit:30000KB     64bit IO Format:%I64d & %I64u Submit Status Description The king pays his loyal knight in gold coins. On the first ...
分类:其他好文   时间:2014-07-15 13:14:28    阅读次数:275
poj2243&&hdu1372 Knight Moves(BFS)
poj2243&&hdu1372 Knight Moves(BFS)...
分类:其他好文   时间:2014-07-14 17:15:23    阅读次数:211
[ACM] POJ 2000 Gold Coins
Gold Coins Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 20913   Accepted: 13098 Description The king pays his loyal knight in gold coins. On the first day o...
分类:其他好文   时间:2014-07-13 20:45:45    阅读次数:205
UVa439
Knight Moves题意:骑士巡游到某位置的最少步数#include #include int s[20][20];int rear, front;int min;char a, c;int b, d;struct{ int x, y; int p;}Susake[300000];v...
分类:其他好文   时间:2014-07-13 20:04:24    阅读次数:231
广搜深搜二
/* C - 广搜 基础 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description A friend of you is doing research on the Traveling Knight Problem (TKP) where you ...
分类:其他好文   时间:2014-07-13 17:29:33    阅读次数:245
435条   上一页 1 ... 40 41 42 43 44 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!