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
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+字典序路径输出)...
分类:
其他好文 时间:
2014-07-18 22:09:34
阅读次数:
244
简单搜索
直接代码:
#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
#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)
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)...
分类:
其他好文 时间:
2014-07-14 17:15:23
阅读次数:
211
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
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