QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465739#7179. Fischer's Chess Guessing Gameucup-team4347TL 4ms3804kbC++233.8kb2024-07-07 07:11:242024-07-07 07:11:24

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 3804kb

input:

GAME 1
2
2
4
1
8
END

output:

RNKQBNRB
RKBNNRQB
RKQBRNBN
RBQKNNBR
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

NRBBNKQR
BNRKQBNR
RNBQKRNB
BRNQKBRN
RKRBBQNN
NBBNQRKR
RKNQRBBN
RKQRNNBB
QRKRNBBN
RKRBBNQN
RKBBNNQR
RKBQNBRN
QNBBNRKR
RKRBBNNQ
QBBRKNNR
BRNQNBKR
RKQNRNBB
RKQBBNRN
RKRBQNBN
RBBKNRQN
RBBNQNKR
RQNKRBBN
RKNQNRBB
RKRBNQBN
BRKQNRNB
RKBNNBQR
RKRBNNBQ
BNRNKBRQ
RKBQNBRN
RNBQNKRB
RKBNRBQN
RKRQBBNN
RKNNBBQR
RKR...

result: