QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465756#7179. Fischer's Chess Guessing Gameucup-team4347TL 251ms3912kbC++234.6kb2024-07-07 08:29:342024-07-07 08:29:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 37ms
memory: 3696kb

input:

GAME 1
1
2
2
4
3
8
END

output:

NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRQNBBN
RKBNQBRN
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 251ms
memory: 3912kb

input:

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

output:

RQKNBBRN
NRBKQBRN
RKQBBRNN
RKRBBQNN
RQKNBBRN
NRBKQBRN
RKNBBRQN
RKRBBNQN
NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRQNBBN
RKRBBNNQ
NRNBBKQR
BQNRKRNB
RNKNQBBR
RKQNBBRN
RNBKRBQN
RKRBQNBN
NRNBBKQR
BQNRKRNB
QNRKNBBR
RNBKRBQN
QBRKBNRN
RKRBNQBN
NRBBNKQR
RBBNQNKR
RNNKBBQR
RQBBKRNN
QRBKRNNB
RKRBNNBQ
RQKNBBRN
RNKQBNRB
RBK...

result:

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

Test #3:

score: 0
Accepted
time: 214ms
memory: 3744kb

input:

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

output:

RQKNBBRN
RKBQNBNR
RKBBRQNN
RQBBKNNR
RBBNKQNR
RKQBBNNR
RQKNBBRN
RNNKQBBR
RBQKRNBN
BQRKNBNR
QNBNRBKR
RKNBBQNR
NRBBNKQR
NRBQKBRN
RBNNBKQR
RQNBBKNR
RKNBBNQR
NRBBNKQR
NRBQKBRN
RBNNBKQR
RQKBNNBR
RKQBNNBR
RQKBBNRN
NRBBQKRN
RKNBQNBR
NRBBNKQR
NRBQKBRN
RBNNBKQR
BQNBRKNR
RKNBNQBR
RQKBBNRN
RKBBNQNR
NQBBNRKR
RKN...

result:

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

Test #4:

score: -100
Time Limit Exceeded

input:

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

output:

RQKNBBRN
RNKQBNRB
QRKRBBNN
NRNBBKQR
BNRBNKQR
NRKRBNQB
NRKNBRQB
NRKRBBQN
RQKNBBRN
NRBKQBRN
NRKQBBNR
NRKRBBNQ
RQKBBNRN
NRBBQKRN
RNKQRBBN
RKNNBQRB
QRKRBNNB
NRNBBKQR
NRKQBBRN
NRBQNKRB
NBQRBKRN
NRKRBQNB
NRBBNKQR
NRBQKBRN
BRKBNNRQ
BRNBKQNR
NNRBBKRQ
NRKRBNQB
RQKNBBRN
NRBKQBRN
NRKQBBNR
RQBKNBNR
BRKRNBQN
QRK...

result: