QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#310425#7179. Fischer's Chess Guessing GameZhaoZiLongRE 998ms3684kbC++111.9kb2024-01-21 13:35:212024-01-21 13:35:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 11ms
memory: 3684kb

input:

GAME 1
3
1
6
8
END

output:

RQKNBBRN
NRBKQBRN
RKQBBRNN
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 995ms
memory: 3624kb

input:

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

output:

RQKNBBRN
NRBKQBRN
RKQBBRNN
RKRBBQNN
RQKNBBRN
NRBKQBRN
RKQBBRNN
RKRBBNQN
RQKNBBRN
RKNQNBBR
RQBBKNNR
RNQBBNKR
RKRBBNNQ
RQKNBBRN
RKNQNBBR
NRNKBBQR
RKQNRNBB
RKRBQNBN
RQKNBBRN
RKNQNBBR
RKQNNRBB
RKBQNNRB
RKRBNQBN
RQKNBBRN
RNBQKRNB
BNRKNBQR
NBRKQRBN
RKRBNNBQ
RQKNBBRN
RNKQBNRB
RBKNBQNR
RKRQBBNN
RQKNBBRN
RKN...

result:

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

Test #3:

score: 0
Accepted
time: 974ms
memory: 3648kb

input:

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

output:

RQKNBBRN
RKNQNBBR
NRNKBBQR
RKNRBQNB
RKQBBNNR
RQKNBBRN
RKNQNBBR
RKQNNRBB
RKNBBNQR
RKNBBQNR
RQKNBBRN
RKNQNBBR
RKQNNRBB
RKNBBNQR
RQKNBBRN
RNBQKRNB
BNRKNBQR
NBRKQRBN
RKQBNNBR
RQKNBBRN
RNBQKRNB
BNRKNBQR
NRKBNRBQ
RBNKRNBQ
RKNBQNBR
RQKNBBRN
RNBQKRNB
BNRKNBQR
NBRKQRBN
RKQBNNBR
RKNBNQBR
RQKNBBRN
RNKQBNRB
QRK...

result:

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

Test #4:

score: 0
Accepted
time: 998ms
memory: 3644kb

input:

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

output:

RQKNBBRN
RNKQBNRB
QRKRBBNN
RQKNBBRN
RNKQBNRB
QRKRBBNN
QRKNBBNR
NRKRBBQN
RQKNBBRN
NRBKQBRN
NRKQBBNR
NRKRBBNQ
RQKNBBRN
RKNQNBBR
QNBBRKRN
NBRKBRQN
QRKRBNNB
RQKNBBRN
RKNQNBBR
QNBBRKRN
BRKNQRNB
NRKRBQNB
RQKNBBRN
RKNQNBBR
QNBBRKRN
BRKNQRNB
NRKRBNQB
RQKNBBRN
NRBKQBRN
NRKQBBNR
RQBKNBNR
QRKRNBBN
RQKNBBRN
NRB...

result:

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

Test #5:

score: -100
Runtime Error

input:

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

output:

RQKNBBRN
RNKQBNRB
RKQNRBBN
QRKNRBBN
RQNKRBBN
RQKNBBRN
NRBKQBRN
NRKQBBNR
RKNRQBBN
RNQKRBBN
RQKNBBRN
RKNQNBBR
RKQNNRBB
RKNBBNQR
RNNKRBBQ
RQKNBBRN
RKNQNBBR
NRNKBBQR
RKNRBQNB
RQNKRNBB
RQKNBBRN
RNBQKRNB
BRNNKRQB
RKRQNNBB
RNQKRNBB
RQKNBBRN
RNBQKRNB
BRNNKRQB
RKNQRNBB
RNNKRQBB
RQKNBBRN
RKNQNBBR
BRKBNNRQ
RNQ...

result: