QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#219830#7179. Fischer's Chess Guessing Gameucup-team1881ML 13ms4836kbC++202.2kb2023-10-19 18:47:512024-01-17 03:31:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 13ms
memory: 4836kb

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
Memory 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: