QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465704#7179. Fischer's Chess Guessing Gameucup-team4347#TL 2ms3832kbC++203.0kb2024-07-07 05:57:572024-07-07 05:57:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3832kb

input:

GAME 1
3
1
4
1
8
END

output:

RNNBBKRQ
BBRNNKRQ
RKNBNQBR
NRNBQKBR
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

BRNKNQRB
RKBBQNRN
RKRBNNBQ
RQBBNNKR
RKRBBQNN
RNQNKBBR
RQBBNKRN
NBBNRKRQ
BQNBNRKR
RKRBBNQN
QBNRBKNR
NBRKBRQN
RNQBBKRN
RKQNBRNB
RKRBBNNQ
NQRKRNBB
RBKNRNBQ
RKRNNQBB
NBRNKQBR
RKRBQNBN
RBBKQNNR
NRKNBBQR
BNRQKNRB
QBNRKRBN
RKRBNQBN
RNNBKRBQ
RKNBNQBR
RKNRNBBQ
RKRBNNBQ
RBBQKNRN
BBQRKNNR
RQKBRNBN
RKRQBBNN
QRB...

result: