QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465757#7179. Fischer's Chess Guessing Gameucup-team4347TL 35ms3652kbC++234.6kb2024-07-07 08:30:342024-07-07 08:30:35

詳細信息

Test #1:

score: 100
Accepted
time: 35ms
memory: 3652kb

input:

GAME 1
1
2
4
3
6
8
END

output:

NRBBNKQR
NRNBBKQR
RQKBBNRN
RQKNBBRN
RKQBBRNN
RKRBBQNN

result:

ok (c) correct after 1 tests, max moves 6 (1 test case)

Test #2:

score: -100
Time Limit Exceeded

input:

GAME 1
1
2
4
3
6
8
GAME 2
2
3
5
3
8
GAME 3
1
2
4
2
8
GAME 4
1
1
4
2
6
8
GAME 5
2
1
3
2
5
8
GAME 6
2
1
3
1
5
8
GAME 7
0
1
3
4
3
8
GAME 8
1
2
3
5
8
GAME 9
0
1
2
4
8
GAME 10
0
1
3
2
8
GAME 11
0
1
2
3
2
8
GAME 12
1
2
3
3
8
GAME 13
1
0
2
3
6
8
GAME 14
0
0
2
4
6
8
GAME 15
1
0
1
3
5
8
GAME 16
1
0
2
1
5
8
G...

output:

NRBBNKQR
NRNBBKQR
RQKBBNRN
RQKNBBRN
RKQBBRNN
RKRBBQNN
NRBBNKQR
NRNBBKQR
RQKBBNRN
RQKNBBRN
RKRBBNQN
NRBBNKQR
NRNBBKQR
RQKBBNRN
RQKNBBRN
RKRBBNNQ
NRBBNKQR
NRNBBKQR
RQKBBNRN
RQKNBBRN
RKQBRNBN
RKRBQNBN
NRBBNKQR
NRNBBKQR
RQKBBNRN
RQKNBBRN
RKBBRQNN
RKRBNQBN
NRBBNKQR
NRNBBKQR
RQKBBNRN
RQKNBBRN
RKBBRNNQ
RKR...

result: