QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#232766#7179. Fischer's Chess Guessing Gameucup-team1259WA 307ms3620kbC++143.4kb2023-10-30 21:49:132023-10-30 21:49:13

详细

Test #1:

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

input:

GAME 1
2
2
8
END

output:

NRNBBKQR
RBQNBNKR
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 307ms
memory: 3456kb

input:

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

output:

NRNBBKQR
RBQNBNKR
RKRBBQNN
NRNBBKQR
NRKQBBRN
RBNQBNKR
RKRBBNQN
NRNBBKQR
RBQNBNKR
RNKBBNRQ
RNKBQNBR
RKRBBNNQ
NRNBBKQR
BQNRKRNB
RBBNNQKR
NBRKRNBQ
RKQBRNBN
RKRBQNBN
NRNBBKQR
BQNRKRNB
RBBNNQKR
QBBNRKRN
RNKNQBBR
RKRBNQBN
NRNBBKQR
BQNRKRNB
RBBNNQKR
RKQNBBRN
RKRBNNBQ
NRNBBKQR
BQNRKRNB
BBRKRNQN
QBBRNNKR
RNN...

result:

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

Test #3:

score: -100
Wrong Answer
time: 258ms
memory: 3600kb

input:

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

output:

NRNBBKQR
NRKQBBRN
RNNKBRQB
QNRBBNKR
RKQBBNNR
RQKNBBRN
RNQKNBBR
RQBBKNNR
RKBBNNRQ
RKNBBQNR
RQKBBNRN
RQKNBRNB
NRKQBBRN
RNKBQNBR
RKNBBNQR
NRNBBKQR
RBQNBNKR
NBBRQNKR
BRQNNBKR
RKQBNNBR
RQKNBBRN
RNBQKRNB
BBRNQKNR
QNRKNBBR
RKNBQNBR
NRNBBKQR
NRKQBBRN
RNBBKNQR
BQNBRNKR
RKNBNQBR
NRBBNKQR
BNRKQBNR
RKNQBBNR
RNN...

result:

wrong answer (i) too many guesses in game 83, pos =