QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#310446#7179. Fischer's Chess Guessing GameZhaoZiLongTL 0ms7380kbC++112.6kb2024-01-21 14:18:422024-01-21 14:18:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

GAME 1
3
2
1
3
1
8
END

output:

RQKNBBRN
RBBKQNRN
BQRNKNRB
RBNNBQKR
RQNKNBBR
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

GAME 1
3
2
1
3
1
8
GAME 2
3
3
1
1
5
8
GAME 3
2
3
2
1
8
GAME 4
2
4
1
2
4
4

output:

RQKNBBRN
RBBKQNRN
BQRNKNRB
RBNNBQKR
RQNKNBBR
RKRBBQNN
RQKNBBRN
RBBKQNRN
BRQKNBRN
RNBNQBKR
RKNBBNRQ
RKRBBNQN
RQKNBBRN
RQNBKNBR
BRQBKNRN
RNQNKRBB
RKRBBNNQ
RQKNBBRN
RQNBKNBR
BQNRKNRB
RQBBNKNR
RNQBKRBN
RNKBRNBQ

result: