QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#344594#7179. Fischer's Chess Guessing Gameucup-team864TL 5ms7644kbC++141.8kb2024-03-04 20:14:352024-03-04 20:14:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 7312kb

input:

GAME 1
2
2
1
5
3
8
END

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RQKBBRNN
RQNKBRNB
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 5ms
memory: 7644kb

input:

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

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RQKBBRNN
RQNKBRNB
RKRBBQNN
NRNBBKQR
NRKQBBRN
RBNQBNKR
NBBQRKNR
RKRBBNQN
NRNBBKQR
RNQNBBKR
BBQRNKNR
RQKBBRNN
QRKNBRNB
RKRBBNNQ
NRNBBKQR
BQNRKRNB
QNRKNBBR
RNKBRQBN
RKRBQNBN
NRNBBKQR
BQNRKRNB
QNRKNBBR
NBRKRQBN
QBRKBNRN
RKRBNQBN
NRNBBKQR
BQNRKRNB
QNRKNBBR
NBRKRQBN
RKRBNNBQ
NRN...

result:

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

Test #3:

score: -100
Time Limit Exceeded

input:

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

output:

NRNBBKQR
NRKQBBRN
NQBBRNKR
QBNRBNKR
NBBRQKNR
RKQBBNNR
NRNBBKQR
BNRBNKQR
QBNRBKNR
QRKBBNNR
RKNBBQNR
NRNBBKQR
NRQBBNKR
NRBBQKNR
RKNBBNQR
NRNBBKQR
RNQNBBKR
RBKNBRQN
RKQBNNBR
NRNBBKQR
NRKQBBRN
QBNRNKBR
RQNBKNBR
RKNBQNBR
NRNBBKQR
NRKQBBRN
QBNRNKBR
RNQBNKBR
RKNBNQBR
NRNBBKQR
RNQNBBKR
RKQNBBNR
NRNBBKQR
NRK...

result: