QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#219827#7179. Fischer's Chess Guessing Gameucup-team1881TL 12ms4996kbC++202.2kb2023-10-19 18:46:362024-01-17 03:31:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 12ms
memory: 4996kb

input:

GAME 1
3
1
3
3
8
END

output:

QRKRBBNN
QRKBNNBR
QBRNBKRN
QNRKBRNB
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

QRKRBBNN
QRKBNNBR
QBRNBKRN
QNRKBRNB
RKRBBQNN
QRKRBBNN
QRBKNNRB
QBRNKRBN
QNNBBRKR
RKQNBRNB
RKRBBNQN
QRKRBBNN
QRBKNNRB
QBRNKRBN
RKRBBNNQ
QRKRBBNN
QBRKNNBR
QNRNKRBB
QNBBRNKR
RKRBQNBN
QRKRBBNN
QBRKNNBR
QNRNKRBB
QNBBRNKR
RKQRNNBB
QRKRBBNN
QRKRBBNN

result: