代码搜索:Knight
找到约 535 项符合「Knight」的源代码
代码结果 535
www.eeworm.com/read/266537/11220099
in knight.in
a1 a1
a1 a2
a1 a3
a1 a4
a1 a5
a1 a6
a1 a7
a1 a8
a1 b1
a1 b2
a1 b3
a1 b4
a1 b5
a1 b6
a1 b7
a1 b8
a1 c1
a1 c2
a1 c3
a1 c4
a1 c5
a1 c6
a1 c7
a1 c8
a1 d1
a1 d2
a1 d3
a1 d4
a1 d5
a1 d6
a1 d7
a1 d8
a1 e1
a1
www.eeworm.com/read/192489/8379529
cpp knight.cpp
#include
#include
#include
#define ROW 8 //行数,可变
#define LINE 8 //列数,可变
#define NUM ROW*LINE //总格数
int board[ROW][LINE];
//两个数组存储对应的偏移量
www.eeworm.com/read/291491/8414143
in knight8.in
28
d8 e8 c7 d7 e7 f7 b6 c6 f6 g6 a5 b5 g5 h5 a4 b4 g4 h4 b3 c3 f3 g3 c2 d2 e2 f2 d1 e1
f5 h6
28
d8 e8 c7 d7 e7 f7 b6 c6 f6 g6 a5 b5 g5 h5 a4 b4 g4 h4 b3 c3 f3 g3 c2 d2 e2 f2 d1 e1
f1 f5
28
d8 e
www.eeworm.com/read/291491/8414144
in knight3.in
8
c5 b4 c1 b2 e1 e5 f4 f2
d3 h8
8
e8 e7 e6 e5 e4 e3 e2 e1
d3 h8
-1
www.eeworm.com/read/291491/8414149
in knight4.in
16
c3 c4 c5 c6 d3 d4 d5 d6 e3 e4 e5 e6 f3 f4 f5 f6
g1 e2
16
c3 c4 c5 c6 d3 d4 d5 d6 e3 e4 e5 e6 f3 f4 f5 f6
g1 e1
16
c3 c4 c5 c6 d3 d4 d5 d6 e3 e4 e5 e6 f3 f4 f5 f6
g1 c1
17
c3 c4 c5 c6 d3 d
www.eeworm.com/read/291491/8414151
in knight1.in
0
b3 d4
0
b5 d4
0
c2 d4
0
c6 d4
0
e2 d4
0
f3 d4
0
f5 d4
0
e6 d4
-1
www.eeworm.com/read/291491/8414158
in knight7.in
28
c1 c2 c3 c4 c5 c6 c7 c8 f1 f2 f3 f4 f5 f6 f7 f8 a3 b3 d3 e3 g3 h3 a6 b6 d6 e6 g6 h6
e5 d7
28
c1 c2 c3 c4 c5 c6 c7 c8 f1 f2 f3 f4 f5 f6 f7 f8 a3 b3 d3 e3 g3 h3 a6 b6 d6 e6 g6 h6
h2 e5
28
c1 c
www.eeworm.com/read/291491/8414159
in knight5.in
48
a1 a2 a3 a4 a5 a6 a7 a8 b1 b2 b3 b4 b5 b6 b7 b8 c1 c2 c3 c4 c5 c6 c7 c8 d1 d2 d3 d4 d5 d6 d7 d8 e1 e2 e3 e4 e5 e6 e7 e8 f1 f2 f3 f4 f5 f6 f7 f8
g1 h3
48
a1 a2 a3 a4 a5 a6 a7 a8 b1 b2 b3 b4 b5 b
www.eeworm.com/read/291491/8414164
in knight6.in
60
a2 a3 a4 a5 a6 a7 a8 b2 b4 b5 b6 b7 b8 c1 c2 c3 c4 c5 c6 c7 c8 d1 d3 d4 d5 d6 d7 d8 e1 e2 e3 e4 e5 e6 e7 e8 f1 f2 f3 f4 f5 f6 f7 f8 g1 g2 g3 g4 g5 g6 g7 g8 h1 h2 h3 h4 h5 h6 h7 h8
a1 b1
53
a2 a