QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465751#7179. Fischer's Chess Guessing Gameucup-team4347TL 193ms3808kbC++233.9kb2024-07-07 07:32:562024-07-07 07:32:56

详细

Test #1:

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

input:

GAME 1
0
4
3
2
8
END

output:

QRNKNRBB
RQKBBNRN
RBKQBNNR
RNKNBBRQ
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 193ms
memory: 3808kb

input:

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

output:

RNBBQNKR
RKQNBBNR
RKRQBNNB
RKRBBQNN
NQRKBBNR
RNKQBBRN
NRKRQBBN
RKRBBNQN
QNNBRKBR
RBKQBNNR
BBRQNNKR
RBNKBNRQ
RKRBBNNQ
NRNBQKBR
NRQNKRBB
NBRQBKNR
QRBBNNKR
RKRBQNBN
QBRKBRNN
RKQBBNRN
RBKNBNRQ
RNQBKRBN
RKBBNRQN
RKRBNQBN
RNBBKNRQ
RNBBNKQR
RNBQKRNB
NNRBBKRQ
RKRBNNBQ
RBKNBQNR
QBBRNKNR
RKNQBRNB
RNQKBRNB
RKR...

result:

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

Test #3:

score: -100
Time Limit Exceeded

input:

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

output:

NRKRBBNQ
RNNQBBKR
BRQNNBKR
RBKNBNQR
RKRNBBQN
RKQBBNNR
NRBBNKRQ
RKQBRNBN
RQBKRBNN
BQNBRNKR
QRNKRNBB
RKNBBQNR
NNBRKBRQ
RQKBNRBN
RKQNBRNB
RBKNBNQR
RKNBBNQR
BNRNKQRB
NRBBNKQR
RBBQNNKR
RKQBNNBR
QRKRBNNB
RQBBNNKR
RQBBKRNN
RKRBNNBQ
RKNBQNBR
BRNBKNQR
RNNBBQKR
BNRBNQKR
RNBBQNKR
RKNBNQBR
QRKNBBRN
RBNQBKRN
RKB...

result: