QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465750#7179. Fischer's Chess Guessing Gameucup-team4347TL 4ms3748kbC++204.0kb2024-07-07 07:30:342024-07-07 07:30:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

GAME 1
1
3
3
2
3
8
END

output:

RNBKNBRQ
RKNNBRQB
RBKRBNQN
RBQNKRBN
RBNQBKNR
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

RBNKBNQR
RKBBNQNR
RNBBQKNR
RKBBNRQN
RKRBBQNN
QNNRKBBR
NBRQBKRN
NRKNBQRB
RBQKBRNN
RKRBBNQN
RKRNBNQB
RKRQNNBB
RKBNQNRB
RKRBBNNQ
RNKNBBRQ
RQBKNRNB
BNRBNQKR
NRQBBKNR
RKNBRQBN
RKRBQNBN
RBNNBKRQ
RNBBQNKR
NRBNKBQR
RKQBNRBN
RKRBNQBN
BNRBNKRQ
RBBNNKRQ
RNQBBKRN
BQNRNKRB
RKRBNNBQ
RBBKQRNN
RKBQNBRN
QRBKNBRN
RKR...

result: