QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#438208#7179. Fischer's Chess Guessing Gameucup-team2150WA 16ms3924kbC++142.5kb2024-06-10 13:46:122024-06-10 13:46:12

详细

Test #1:

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

input:

GAME 1
1
2
2
4
1
8
END

output:

NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRQNBBN
RNKRNBBQ
RKRBBQNN

result:

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

Test #2:

score: 0
Accepted
time: 16ms
memory: 3856kb

input:

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

output:

NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRQNBBN
RNKRNBBQ
RKRBBQNN
NRBBNKQR
RNBNQBKR
QRNNBKRB
NBNRKQBR
RKRBBNQN
NRBBNKQR
BNRKQBNR
RNBQKRNB
RKRQNBBN
RQNNKBBR
RKRBBNNQ
NRBBNKQR
BNRKQBNR
RNBQKRNB
RQNNBBKR
RKRBQNBN
NRBBNKQR
RNBNQBKR
QRNNBKRB
RKRBNQBN
NRBBNKQR
RNBNQBKR
QRNNBKRB
RKRBNQBN
RKRBNNBQ
NRBBNKQR
RKNNRQBB
RNK...

result:

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

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3924kb

input:

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

output:

NRBBNKQR
RNBNQBKR
NBRKQNBR
RKQBBNNR
NRBBNKQR
RNBNQBKR
NBRKQNBR
RQBBKNRN
RNKBNRBQ
RKNBBQNR
NRBBNKQR
NRBQKBRN
RBNNBKQR
RQNBBKNR
RKNBBNQR
NRBBNKQR
NRBQKBRN
RBNNBKQR
RQKBNNBR
RNKBNQBR
RKQBNNBR
NRBBNKQR
RNBNQBKR
RNBBKQRN
QNRBBNKR
RKNBQNBR
NRBBNKQR
NRBQKBRN
RBNNBKQR
QNRBBKNR
RKNBNQBR
NRBBNKQR
BNRKQBNR
RQK...

result:

wrong answer (i) too many guesses in game 36, pos = (test case 36)