QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465758#7179. Fischer's Chess Guessing Gameucup-team4347TL 42ms3768kbC++234.6kb2024-07-07 08:32:022024-07-07 08:32:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 42ms
memory: 3768kb

input:

GAME 1
2
2
1
6
8
END

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RKRBBNNQ
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

RQKBBNRN
RQKNBRNB
QRKBBNNR
RKRBBQNN
RQKNBBRN
NRBKQBRN
RKQBBRNN
RKRBBNQN
RQKNBBRN
RNQKNBBR
BBRNNKRQ
QNBBRKRN
NBRKBRQN
RKRBBNNQ
NRBBNKQR
BNRKQBNR
RNBQKRNB
BBNQRNKR
QBRKNRBN
RKRBQNBN
RQKBBNRN
NRBBQKRN
RKNBQNBR
QRNBBNKR
RKQBNRBN
RKRBNQBN
NRBBNKQR
RBBQKNNR
RKNNBBQR
BNRQNBKR
RQBKNBRN
RKRBNNBQ
NRNBBKQR
BQN...

result: