QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#344679#7179. Fischer's Chess Guessing Gameucup-team864WA 9ms11404kbC++142.1kb2024-03-04 21:13:512024-03-04 21:13:54

详细

Test #1:

score: 100
Accepted
time: 6ms
memory: 11176kb

input:

GAME 1
2
2
1
5
3
8
END

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RQKBBRNN
RQNKBRNB
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 9ms
memory: 11404kb

input:

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

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RQKBBRNN
RQNKBRNB
RKRBBQNN
NRNBBKQR
NRKQBBRN
RBNQBNKR
NBBQRKNR
RKRBBNQN
NRNBBKQR
RNQNBBKR
BBQRNKNR
RQKBBRNN
QRKNBRNB
RKRBBNNQ
NRNBBKQR
BQNRKRNB
QNRKNBBR
RNKBRQBN
RKRBQNBN
NRNBBKQR
BQNRKRNB
QNRKNBBR
NBRKRQBN
QBRKBNRN
RKRBNQBN
NRNBBKQR
BQNRKRNB
QNRKNBBR
NBRKRQBN
RKRBNNBQ
NRN...

result:

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

Test #3:

score: 0
Accepted
time: 6ms
memory: 11180kb

input:

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

output:

NRNBBKQR
NRKQBBRN
NQBBRNKR
QBNRBNKR
NBBRQKNR
RKQBBNNR
NRNBBKQR
BNRBNKQR
QBNRBKNR
QRKBBNNR
RKNBBQNR
NRNBBKQR
NRQBBNKR
NRBBQKNR
RKNBBNQR
NRNBBKQR
RNQNBBKR
RBKNBRQN
RKQBNNBR
NRNBBKQR
NRKQBBRN
QBNRNKBR
RQNBKNBR
RKNBQNBR
NRNBBKQR
NRKQBBRN
QBNRNKBR
RNQBNKBR
RKNBNQBR
NRNBBKQR
RNQNBBKR
RKQNBBNR
NRNBBKQR
NRK...

result:

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

Test #4:

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

input:

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

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
NBRNKQBR
QRKRBBNN
NRNBBKQR
BNRBNKQR
NRQKBBNR
QRNNBBKR
NRQNBKRB
NRKRBBQN
NRNBBKQR
NRKQBBRN
NRKQBRNB
NRKNBQRB
NRKRBBNQ
NRNBBKQR
RNQNBBKR
QRBNNKRB
NRQKNRBB
QRKRBNNB
NRNBBKQR
NRKQBBRN
NRKNQBBR
NNRQBBKR
NRKRBQNB
NRNBBKQR
BNRBNKQR
NRQKBBNR
NRKRBNQB
NRNBBKQR
BQNRKRNB
QBBNNRKR
QRK...

result:

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