QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#491091#7179. Fischer's Chess Guessing GameMaMengQiTL 10ms3664kbC++175.0kb2024-07-25 17:13:332024-07-25 17:13:34

詳細信息

Test #1:

score: 100
Accepted
time: 10ms
memory: 3664kb

input:

GAME 1
3
1
1
0
0
8
END

output:

RKBBNNQR
BRKBNNQR
BBRKNNQR
BBNRKNQR
BBNNRKQR
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

GAME 1
3
1
1
0
0
8
GAME 2
5
3
3
2
1
8
GAME 3
4
2
2
1
0
5

output:

RKBBNNQR
BRKBNNQR
BBRKNNQR
BBNRKNQR
BBNNRKQR
RKRBBQNN
RKBBNNQR
BRKBNNQR
BBRKNNQR
BBNRKNQR
BBNNRKQR
RKRBBNQN
RKBBNNQR
BRKBNNQR
BBRKNNQR
BBNRKNQR
BBNNRKQR
RKRBQNBN

result: