QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#191005#7179. Fischer's Chess Guessing Gameucup-team2039WA 1374ms3772kbC++143.3kb2023-09-29 16:41:282023-09-29 16:41:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 16ms
memory: 3772kb

input:

GAME 1
3
2
3
1
8
END

output:

NRNBBQKR
RNBBQNKR
RBNQBKNR
NRBQKBNR
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 1330ms
memory: 3676kb

input:

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

output:

NRNBBQKR
RNBBQNKR
RBNQBKNR
NRBQKBNR
RKRBBQNN
NRNBBQKR
RBQNBKNR
RQNKBNRB
RBNKRQBN
RKRBBNQN
NRNBBQKR
RBQNBKNR
BBQRNNKR
RKNNQBBR
RKRBBNNQ
NRNBBQKR
RKQNNBBR
BRQNKBRN
RKBBNRQN
RKRBQNBN
NRNBBQKR
RBQNBKNR
BRNQKRNB
NNRKQBBR
RNKBRQBN
RKRBNQBN
NRNBBQKR
RKQNNBBR
RKQNBRNB
RNBNKBQR
RKRBNNBQ
NRNBBQKR
RKQNNBBR
BRQ...

result:

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

Test #3:

score: 0
Accepted
time: 1337ms
memory: 3672kb

input:

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

output:

NRNBBQKR
RNBBQNKR
RKQBBNNR
NRNBBQKR
RQNBBNKR
RKNBBQNR
NRNBBQKR
RNBBNQKR
NRBNQBKR
RBNKBQNR
RKNBBNQR
NRNBBQKR
RBQNBKNR
BBQRNNKR
QBBNRNKR
BBRKNQNR
RKQBNNBR
NRNBBQKR
RNBBQNKR
RKNBQNBR
NRNBBQKR
RNBBNQKR
NQBBNRKR
RKNBNQBR
NRNBBQKR
RBQNBKNR
RKQNBBNR
NRNBBQKR
RNBBQNKR
RBNQBKNR
RKNQBBNR
NRNBBQKR
RNBBQNKR
RBN...

result:

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

Test #4:

score: 0
Accepted
time: 1324ms
memory: 3700kb

input:

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

output:

NRNBBQKR
RBQNBKNR
RQNKBNRB
QBBRNNKR
QRKRBBNN
NRNBBQKR
RNBBQNKR
NRKRBBNQ
NRKNBBRQ
NRKRBBQN
NRNBBQKR
RNBBQNKR
NRKRBBNQ
NRNBBQKR
RBQNBKNR
RQNKBNRB
RBNKRQBN
NNRQBKRB
QRKRBNNB
NRNBBQKR
RNBBNQKR
NRKQBBNR
NRKBBRNQ
NRKRBQNB
NRNBBQKR
RNBBQNKR
NRQKNBBR
NRKQBNRB
NRKRBNQB
NRNBBQKR
RKQNNBBR
BRQNKBRN
RNQBKRBN
RNK...

result:

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

Test #5:

score: 0
Accepted
time: 1374ms
memory: 3620kb

input:

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

output:

NRNBBQKR
RKQNNBBR
BRQNKBRN
RBNNKRBQ
RQNKRBBN
NRNBBQKR
BNRKQRNB
RKBQRNNB
BBRQKNRN
QNBRNKRB
RNQKRBBN
NRNBBQKR
RKQNNBBR
BRQNKBRN
RKBBNRQN
RNNKRBBQ
NRNBBQKR
RKQNNBBR
RQKNBNRB
RQKRBBNN
RQNKRNBB
NRNBBQKR
BNRKQRNB
BBRNKRQN
RNBKRBNQ
RNQKRNBB
NRNBBQKR
RBQNBKNR
BRNQKRNB
NNRQKBBR
RNNKRQBB
NRNBBQKR
BNRKQRNB
BNR...

result:

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

Test #6:

score: -100
Wrong Answer
time: 1240ms
memory: 3700kb

input:

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

output:

NRNBBQKR
RKQNNBBR
RQKNBNRB
BBRNQKNR
QRBKNBRN
NRNBBQKR
RBQNBKNR
BRNKRBQN
QRNKRNBB
NRBKQBRN
NRNBBQKR
RBQNBKNR
BRNKRBQN
QRKBRNBN
NRBKNRQB
NRBKNBRQ
NRNBBQKR
RKQNNBBR
BQNRNKRB
BRKQNRNB
RQKRBNNB
QRBKNNRB
NRNBBQKR
RBQNBKNR
BRNKRBQN
BNRBKQRN
NRBKQNRB
NRNBBQKR
RNBBQNKR
NRQKNBBR
NQNRKBBR
NRBKNQRB
NRNBBQKR
RNB...

result:

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