QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465745#7179. Fischer's Chess Guessing Gameucup-team4347RE 4ms3660kbC++233.8kb2024-07-07 07:23:072024-07-07 07:23:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 3660kb

input:

GAME 1
1
3
2
2
3
8
END

output:

RBKNRNBQ
BQRBKNRN
NBBRKQRN
BBRKNRQN
RQNKBBRN
RKRBBQNN

result:

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

Test #2:

score: -100
Runtime Error

input:

GAME 1
2
0
5
5
8
GAME 2
2
1
5
6
8
GAME 3
1
2
1
0
0
8
GAME 4
2
2
2
0
6
8
GAME 5
1
3
2
0
2
8
GAME 6
2
3
1
2
8
GAME 7
0
3
4
1
8
GAME 8
2
4
3
4
8
GAME 9
1
2
4
1
8
GAME 10
2
0
3
4
8
GAME 11
3
1
1
8
GAME 12
2
2
3
3
3
8
GAME 13
1
1
2
1
8
GAME 14
0
0
3
8
GAME 15
1
3
2
2
2
2

output:

BNRBQNKR
BBNRNKQR
RKQBBNRN
RNKBBQRN
RKRBBQNN
RNBKQNRB
RQKNNRBB
RKNBBQRN
RKNBBNQR
RKRBBNQN
BBRQNKRN
RKBNNBQR
RNQKNRBB
BNNRQBKR
NRBNKQRB
RKRBBNNQ
RKBQNBNR
RNNBBQKR
NRBBKNQR
BBNRNKQR
RKQBRNBN
RKRBQNBN
NQNRKBBR
RKQBBNNR
QRBBNNKR
NRQKBNRB
BNRBQKNR
RKRBNQBN
RNBKNRQB
RKQNBNRB
NRBQKNRB
RBKRBNQN
RKRBNNBQ
NBN...

result: