QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#219608#7179. Fischer's Chess Guessing Gameucup-team1881WA 16ms4984kbC++202.1kb2023-10-19 16:41:492023-10-19 16:41:49

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 4984kb

input:

GAME 1
3
0
3
8
END

output:

RKBQNBNR
BRQNNBKR
RBBKQRNN
RKRBBQNN

result:

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

Test #2:

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

input:

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

output:

RKBQNBNR
BRQNNBKR
RBBKQRNN
RKRBBQNN
RKBQNBNR
RQNBBNKR
QRNNBBKR
RKQBBNRN
RKRBBNQN
RKBQNBNR
BRQNNBKR
RBBKQRNN
RKRBBNNQ
RKBQNBNR
RQNBBNKR
BRNBQKNR
RKNRQNBB
RKRBQNBN
RKBQNBNR
BRQNNBKR
RKNBNRBQ
RKRBNQBN
RKBQNBNR
BRQNNBKR
RKNBNRBQ
RKRBNNBQ
RKBQNBNR
RKQNBBNR
RKRQBBNN
RKBQNBNR
BRQNNBKR
RKRNQBBN
RKRNBBQN
RKB...

result:

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

Test #3:

score: -100
Wrong Answer
time: 12ms
memory: 4844kb

input:

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

output:

RKBQNBNR
RKBBNQRN
RKNQNRBB
RKQRBBNN
RKQBBNNR
RKBQNBNR
RKBBNQRN
RNBQKBRN
RKQBNNBR
RKNBBQNR
RKBQNBNR
BRQNNBKR
RKNBNRBQ
RKQBBRNN
RKNBBNQR
RKBQNBNR
RKBBNQRN
RNBQKBRN
RKQBNNBR
RKBQNBNR
BRQNNBKR
RKNBNRBQ
RKRBNQBN
RKNBQNBR
RKBQNBNR
RKBBNQRN
RKBBQRNN
RKNBNQBR
RKBQNBNR
RKQNBBNR
RKBQNBNR
RKBQRBNN
RKBQNRNB
RKB...

result:

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