QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465871#7179. Fischer's Chess Guessing Gameucup-team4347TL 557ms3948kbC++234.5kb2024-07-07 12:28:082024-07-07 12:28:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

GAME 1
2
2
1
4
8
END

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RBNKBQRN
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 557ms
memory: 3948kb

input:

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

output:

NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRBBNNQ
RKRBBQNN
RQKBBNRN
RNKQBNRB
RQNBBNKR
RQNKBBRN
RKRBBNQN
NRNBBKQR
RNQNBBKR
BBQRNKNR
RBNKBQRN
NRQKRBBN
RKRBBNNQ
RQKBBNRN
RQKNBRNB
BQNBRKRN
RNBBKNRQ
RKRBQNBN
RQKBBNRN
NRBBQKRN
RKNBQNBR
QRNBBNKR
RKQBNRBN
RKRBNQBN
RQKBBNRN
NRBBQKRN
RKNRBBQN
BQNRKNRB
RKRBNNBQ
RQKBBNRN
NRB...

result:

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

Test #3:

score: 0
Accepted
time: 464ms
memory: 3756kb

input:

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

output:

NRBBNKQR
RNBNQBKR
NBRKQNBR
RBNQBKNR
RQKBBNNR
RKQBBNNR
RQKNBBRN
RNNKQBBR
NRNQBBKR
RKNBBQNR
NRBBNKQR
NRBQKBRN
RBNNBKQR
RKNBBNQR
RQKNBBRN
RNBQKRNB
NNRBBKQR
BQNBNRKR
RKNBQNBR
RKQBNNBR
RQKNBBRN
RNBQKRNB
NBRNKQBR
NRKBNRBQ
RKNBQNBR
RQKNBBRN
RNBQKRNB
NNRBBKQR
RKRBNNBQ
RKNBQNBR
RKNBNQBR
RQKNBBRN
RNKBBNRQ
QRK...

result:

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

Test #4:

score: -100
Time Limit Exceeded

input:

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

output:

NRNBBKQR
RBQNBNKR
QRBNNKRB
BRKQNBNR
BRKNRBQN
QRKRBBNN
NRNBBKQR
BNRBNKQR
NRKNBRQB
NRKRBBQN
RQKBBNRN
RKBBNQNR
BRKNNBRQ
NRKRBBNQ
RQKNBBRN
RNQKNBBR
QBBRKNRN
QRKRBNNB
NRBBNKQR
RBBQKNNR
BRKBQRNN
BRKNRNQB
BRNNQBKR
NRKRBQNB
NRNBBKQR
BNRBNKQR
NRKNBRQB
NRKRBNQB
NRBBNKQR
RBBNQNKR
NRKRBQNB
NNRQBKRB
QRKRNBBN
RQK...

result: