QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465744#7179. Fischer's Chess Guessing Gameucup-team4347RE 225ms3740kbC++233.9kb2024-07-07 07:21:482024-07-07 07:21:48

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3648kb

input:

GAME 1
3
1
1
3
2
8
END

output:

RNNBBKRQ
BBRNNKRQ
NRNBQKBR
RKNNBRQB
RNQNBBKR
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 225ms
memory: 3740kb

input:

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

output:

NBNRBKQR
BNRBKQNR
RNBBNQKR
BNRBNKRQ
RKRBBQNN
RKRNBNQB
RKNRBNQB
RKBNRNQB
RKRBBNQN
QRNKRNBB
RBBNQNKR
NRBQKBNR
BBNRNKQR
RKRBBNNQ
RQBBKNNR
RKBNQNRB
RNBNQBKR
RKBRNQNB
RQKNRNBB
RKRBQNBN
QRNBBKRN
RKQBBNNR
QNRBKNBR
RKRBNQBN
RBBQKRNN
RQNBBNKR
BRNBQKNR
NBRNBQKR
RKRBNNBQ
RQKNBNRB
RNBKNRQB
RKNQBBNR
RKNRBBNQ
RKR...

result:

ok (c) correct after 96 tests, max moves 6 (96 test cases)

Test #3:

score: 0
Accepted
time: 201ms
memory: 3736kb

input:

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

output:

BBRKNRNQ
RKBBNNQR
RKBRNBQN
RKQBBNNR
BBRNKNRQ
NRNBBKQR
RNNBQKBR
QNNBBRKR
RKNBBQNR
BBNRKRQN
RBNNBQKR
NBBNQRKR
RNNBKQBR
RNNKBBQR
RKNBBNQR
NQNRBKRB
QRKBNRBN
RBKQRNBN
RKQBNNBR
RNKBBNRQ
RNQBNKBR
RQKBNRBN
RKBBNNQR
RKNBQNBR
BNNBRQKR
BBNRQNKR
QNBBNRKR
RNNBBKQR
RKNBNQBR
QBNNRKBR
NRNQBBKR
RNBNQBKR
NNBBRQKR
RQK...

result:

ok (c) correct after 96 tests, max moves 6 (96 test cases)

Test #4:

score: -100
Runtime Error

input:

GAME 1
2
2
1
2
8
GAME 2
1
2
3
2
3
1

output:

NQNRBKRB
NRNQKBBR
BRNKRNQB
RKNBBQNR
QRKRBBNN
BNRKRNQB
RQKBBNNR
QNNRBBKR
NBRNBQKR
NQNRBKRB
BBNRQKNR
NRKRBBQN

result: