QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#438203#7179. Fischer's Chess Guessing Gameucup-team2150WA 17ms3872kbC++142.5kb2024-06-10 13:39:522024-06-10 13:39:53

詳細信息

Test #1:

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

input:

GAME 1
2
2
1
3
8
END

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RQNKBRNB
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 13ms
memory: 3764kb

input:

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

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RQNKBRNB
RKRBBQNN
NRNBBKQR
NRKQBBRN
RBNQBNKR
RNKBBQNR
RKRBBNQN
NRNBBKQR
RNQNBBKR
BBQRNKNR
RQNKBRNB
RKRBBQNN
RKRBBNNQ
NRNBBKQR
BQNRKRNB
RNKNQBBR
RKQNBBRN
RNBKRBQN
RKRBQNBN
NRNBBKQR
BQNRKRNB
RNKNQBBR
RKRBNNBQ
RKRBNQBN
NRNBBKQR
BQNRKRNB
RNKNQBBR
RKRBNNBQ
NRNBBKQR
BQNRKRNB
RNB...

result:

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

Test #3:

score: 0
Accepted
time: 14ms
memory: 3872kb

input:

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

output:

NRNBBKQR
NRKQBBRN
NQBBRNKR
QBNRBNKR
RKQBBNNR
NRNBBKQR
BNRBNKQR
RKNNBBQR
RKNBBRQN
RKNBBQNR
NRNBBKQR
RQNBBKNR
RKNBBNQR
NRNBBKQR
RNQNBBKR
RBKNBRQN
RKQBNNBR
NRNBBKQR
NRKQBBRN
RQNBKNBR
RNNBKQBR
RKNBQNBR
NRNBBKQR
NRKQBBRN
RQNBKNBR
RNBBKNQR
RKNBNQBR
NRNBBKQR
RNQNBBKR
RKQNBBNR
NRNBBKQR
NRKQBBRN
RNQBBKRN
BRK...

result:

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

Test #4:

score: 0
Accepted
time: 11ms
memory: 3748kb

input:

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

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RQKBNNBR
RKNRBQNB
QRKRBBNN
NRNBBKQR
BNRBNKQR
NRQKBBNR
QRNNBBKR
NRQNBKRB
NRKRBBQN
NRNBBKQR
NRKQBBRN
NRKRBBNQ
NRNBBKQR
RNQNBBKR
QRBNNKRB
NRQKNRBB
QRKRBNNB
NRNBBKQR
NRKQBBRN
NRKNQBBR
NRKRBQNB
NRNBBKQR
BNRBNKQR
NRQKBBNR
NRKRBNQB
NRNBBKQR
BQNRKRNB
RNBKRNQB
BRKQNBRN
QRKRNBBN
NRN...

result:

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

Test #5:

score: 0
Accepted
time: 17ms
memory: 3632kb

input:

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

output:

NRNBBKQR
BQNRKRNB
BRQKNNRB
RQKBNRBN
RQNKRBBN
NRNBBKQR
RQKNNRBB
RNBNKBRQ
RNQKRBBN
NRNBBKQR
BQNRKRNB
RNBKRNQB
RNBQNKRB
RNNKRBBQ
NRNBBKQR
BQNRKRNB
RBNQKRBN
RQNKRNBB
NRNBBKQR
RQKNNRBB
RKQRNBBN
RNQKRNBB
NRNBBKQR
BQNRKRNB
BRQKNNRB
RQBKNBNR
BRKQRBNN
RNNKRQBB
NRNBBKQR
RQKNNRBB
RNBNKBRQ
RKBRQNNB
RBBKQRNN
NRN...

result:

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

Test #6:

score: -100
Wrong Answer
time: 6ms
memory: 3752kb

input:

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

output:

NRNBBKQR
BQNRKRNB
RNKNQBBR
NBRKRNBQ
RBBQNKRN
QRBKNBRN
NRNBBKQR
RNQNBBKR
QRBNNKRB
NRQKNRBB
NRBKQBRN
NRNBBKQR
RNQNBBKR
QRBNNKRB
QNBBRKRN
NRBKNBRQ
NRNBBKQR
BQNRKRNB
RNBKRNQB
RNBQNKRB
RNBBKNRQ
QRBKNNRB
NRNBBKQR
RNQNBBKR
NRBKQNRB
NRNBBKQR
RNQNBBKR
NRBKQNRB
NRBQKNRB
NRBKNQRB
NRNBBKQR
NRKQBBRN
NRKRBBNQ
QRN...

result:

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