QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465862#7179. Fischer's Chess Guessing Gameucup-team4347TL 46ms3980kbC++234.5kb2024-07-07 12:16:322024-07-07 12:16:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 46ms
memory: 3980kb

input:

GAME 1
1
2
3
1
4
8
END

output:

NRBBNKQR
BNRKQBNR
RKBNQBRN
BRNQKBRN
RBBKRQNN
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

NRNBBKQR
RBQNBNKR
RKRBBQNN
RQKBBNRN
RNQBBKRN
RKNBBNRQ
RKRBBNQN
RQKNBBRN
RKBQNBNR
RKQBNRBN
RKNBBNQR
RKRBBNNQ
NRNBBKQR
BQNRKRNB
NNRKRBBQ
RNBQNBKR
RKQBRNBN
RKRBQNBN
RQKBBNRN
NRBBQKRN
RQNBNKBR
RKQBNRBN
RKRBNQBN
NRBBNKQR
RNBNQBKR
NRKNBQRB
RKRBNNBQ
RQKBBNRN
NRBBQKRN
RNKQRBBN
RNKBNQBR
RKRQBBNN
NRNBBKQR
RBQ...

result: