QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#232724#7179. Fischer's Chess Guessing Gameucup-team1259RE 4ms3732kbC++143.0kb2023-10-30 20:48:062023-10-30 20:48:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3732kb

input:

GAME 1
8
END

output:

RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 4ms
memory: 3628kb

input:

GAME 1
8
GAME 2
6
6
8
GAME 3
6
8
GAME 4
5
8
GAME 5
6
4
8
GAME 6
4
8
GAME 7
6
5
8
GAME 8
5
4
8
GAME 9
5
3
8
GAME 10
5
4
4
8
GAME 11
6
5
5
8
GAME 12
4
4
8
GAME 13
4
5
8
GAME 14
4
4
4
8
GAME 15
3
8
GAME 16
3
5
8
GAME 17
3
5
6
8
GAME 18
4
5
5
8
GAME 19
4
2
8
GAME 20
3
4
8
GAME 21
3
5
3
8
GAME 22
3
2
8
G...

output:

RKRBBQNN
RKRBBQNN
RKRBBNNQ
RKRBBNQN
RKRBBQNN
RKRBBNNQ
RKRBBQNN
RKRBQNBN
RKRBBQNN
RKRBBNNQ
RKRBNQBN
RKRBBQNN
RKRBNNBQ
RKRBBQNN
RKRBBNNQ
RKRQBBNN
RKRBBQNN
RKRBQNBN
RKRNBBQN
RKRBBQNN
RKRBQNBN
RKRNBBNQ
RKRBBQNN
RKRBQNBN
RKRNBBQN
RKRQBNNB
RKRBBQNN
RKRBBNNQ
RKRQBBNN
RKRNBQNB
RKRBBQNN
RKRBNNBQ
RKRNBNQB
RKR...

result:

ok (c) correct after 96 tests, max moves 6 (96 test cases)

Test #3:

score: -100
Runtime Error

input:

GAME 1
5
4
3
3
8
GAME 2
6
5
4
8
GAME 3
4
4
5
8
GAME 4
3
4
3
8
GAME 5
3
3
2
2
8
GAME 6
4
5
4
4
8
GAME 7
4
2
4
4
8
GAME 8
4
2
4
3
2
4

output:

RKRBBQNN
RKRBQNBN
RKRNBBQN
RKBBNQRN
RKQBBNNR
RKRBBQNN
RKRBBNNQ
RKRQBBNN
RKNBBQNR
RKRBBQNN
RKRBNNBQ
RKRNBNQB
RKNBBNQR
RKRBBQNN
RKRNNBBQ
RKBRNBQN
RKQBNNBR
RKRBBQNN
RKRNNBBQ
RBKRNQBN
RKBQNRNB
RKNBQNBR
RKRBBQNN
RKRBNNBQ
RKRQNBBN
RKQBRNBN
RKNBNQBR
RKRBBQNN
RKRBNNBQ
RKBRQBNN
RKBNRQNB
RKQNBBNR
RKRBBQNN
RKR...

result: