QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#212957#7179. Fischer's Chess Guessing GameMaMengQiTL 5ms7308kbC++142.4kb2023-10-13 23:51:512023-10-13 23:51:51

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 7308kb

input:

GAME 1
1
2
1
1
2
8
END

output:

RBNNKRBQ
BRQBKNNR
NRQNBKRB
NNBBQRKR
BNRQKBRN
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
2
2
8
GAME 2
1
1
2
2
8
GAME 3
3
0
5
8
GAME 4
0
1
5
4
8
GAME 5
5
5
8
GAME 6
1
1
3
8
GAME 7
3
3
3
1
8
GAME 8
1
1
3
3
4
8
GAME 9
2
3
2
0
3
8
GAME 10
1
1
1
1
4
4

output:

NNRBBKRQ
NRBBKRNQ
NBQRBKNR
RKRBBQNN
QRBKRNNB
NQRNKRBB
NRNBBQKR
BQNBRKRN
RKRBBNQN
NBRQBNKR
NBNRKQBR
RKRQBBNN
RKRBBNNQ
NRBNKRQB
BNRKNBRQ
RKNBRNBQ
RKNBNQBR
RKRBQNBN
RKBBNQNR
RKQBNNBR
RKRBNQBN
RNNQBKRB
QRNKRBBN
NNRBKQBR
RKRBNNBQ
RQKRBNNB
NQRBBKNR
RQNNBBKR
NBQRBNKR
RKRQBBNN
NBQNRKBR
BNRQNKRB
RKQRBNNB
RKB...

result: