QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#200973#7179. Fischer's Chess Guessing Gameucup-team1281TL 10ms7576kbC++202.2kb2023-10-05 02:40:422023-10-05 02:40:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 10ms
memory: 7576kb

input:

GAME 1
4
3
1
5
8
END

output:

RQKBBNRN
RQKNBRNB
RQBKNNRB
RKNBBRQN
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
1
5
8
GAME 2
5
3
3
3
8
GAME 3
4
3
2
6
8
GAME 4
4
1
3
2
8
GAME 5
3
2
4
2
6

output:

RQKBBNRN
RQKNBRNB
RQBKNNRB
RKNBBRQN
RKRBBQNN
RQKBBNRN
RQKRBNNB
RQNKBBRN
RQKBNRBN
RKRBBNQN
RQKBBNRN
RQKNBRNB
RQBKNNRB
RKQBBNNR
RKRBBNNQ
RQKBBNRN
RQKNBRNB
RNBBKQRN
BQNBRKRN
RKRBQNBN
RQKBBNRN
NRBBQKRN
RKNBQNBR
RNBBKNQR
RKQBNRBN

result: