QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#438201#7179. Fischer's Chess Guessing Gameucup-team2150WA 17ms3908kbC++142.4kb2024-06-10 13:38:102024-06-10 13:38:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3752kb

input:

GAME 1
1
2
2
4
1
8
END

output:

NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRQNBBN
RNKRNBBQ
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 17ms
memory: 3704kb

input:

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

output:

NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRQNBBN
RNKRNBBQ
RKRBBQNN
RQKBBNRN
RQKRBNNB
RQNKBBRN
RQKBNRBN
RKRBBNQN
NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRQNBBN
RQNNKBBR
RKRBBNNQ
RQKBBNRN
RQKNBRNB
RNBBKQRN
BQNBRKRN
RKRBQNBN
NRBBNKQR
RNBNQBKR
QRNNBKRB
RKRBNQBN
RQKNBBRN
RNBQKRNB
NNRBBKQR
RKNBQNBR
RKRBNNBQ
RQKNBBRN
RQBNKBNR
RQN...

result:

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

Test #3:

score: 0
Accepted
time: 11ms
memory: 3704kb

input:

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

output:

RQKBBNRN
RQKNBRNB
RQBNKBRN
RKRBBNNQ
RKQBBNNR
RQKBBNRN
NRBBQKRN
RNKQRBBN
RKNNBQRB
RKNBBQNR
NRNBBKQR
RQNBBKNR
RKNBBNQR
NRBBNKQR
NRBQKBRN
RBNNBKQR
RQKBNNBR
RNKBNQBR
RKQBNNBR
NRNBBKQR
NRKQBBRN
RQNBKNBR
RNNBKQBR
RKNBQNBR
RQKNBBRN
RNBQKRNB
NNRBBKQR
RKNBQNBR
RKQBNNBR
RKNBNQBR
NRNBBKQR
RNQNBBKR
RKQNBBNR
RQK...

result:

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

Test #4:

score: 0
Accepted
time: 9ms
memory: 3684kb

input:

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

output:

NRBBNKQR
BNRKQBNR
RNBQKRNB
RQNNBBKR
BRQNKBRN
QRKRBBNN
RQKBBNRN
NRBBQKRN
RBBKNQRN
NRKRBBQN
RQKBBNRN
RKNBNQBR
QNBRKNRB
NQRKBRNB
NRKRBBNQ
RQKNBBRN
RNQKNBBR
QBBRKNRN
BBRNKRQN
QRKRBNNB
RQKBBNRN
RKNBNQBR
BRNQKBRN
RNBNQKRB
NRKRBQNB
RQKNBBRN
RNQKNBBR
QBBRKNRN
NRKRBNQB
RQKNBBRN
NRBKQBRN
NRKQBBNR
RQBKNBNR
QRK...

result:

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

Test #5:

score: 0
Accepted
time: 8ms
memory: 3908kb

input:

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

output:

NRBBNKQR
RKNNRQBB
RQNKRBBN
NRBBNKQR
RKNNRQBB
RKQNBBRN
RQKNBNRB
RNQKRBBN
NRBBNKQR
RKNNRQBB
RQNKRBBN
RQKNRBBN
RNNKRBBQ
RQKBBNRN
NRBBQKRN
RQNKBBNR
RNKRBBNQ
RQNKRNBB
RQKNBBRN
RNBQKRNB
RNBBQNKR
RNQKRNBB
NRNBBKQR
BQNRKRNB
BRQKNNRB
RQBKNBNR
BRKQRBNN
RNNKRQBB
NRBBNKQR
BNRKQBNR
RQKNBBNR
QNNRKBBR
RBBKQRNN
RQK...

result:

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

Test #6:

score: -100
Wrong Answer
time: 8ms
memory: 3684kb

input:

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

output:

RQKBBNRN
RKNBNQBR
BRNQKBRN
NRNQBKRB
QRBKNBRN
RQKNBBRN
NRBKQBRN
NRNBBKQR
RNQNBBKR
QRBNNKRB
QNBBRKRN
NRBKNBRQ
NRNBBKQR
BQNRKRNB
RNBKRNQB
RNBQNKRB
RNBBKNRQ
QRBKNNRB
RQKBBNRN
RKNBNQBR
QNBRKNRB
QRBNKBRN
QNRNBKRB
NRBKQNRB
NRNBBKQR
RNQNBBKR
NRBKQNRB
NRBQKNRB
NRBKNQRB
NRBBNKQR
BNRKQBNR
RNBQKRNB
QRNKBBRN
RQK...

result:

wrong answer (i) too many guesses in game 41, pos =