QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#710309#7179. Fischer's Chess Guessing Gameucup-team4532TL 0ms3696kbC++202.0kb2024-11-04 19:23:452024-11-04 19:23:45

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3696kb

input:

GAME 1
3
2
3
2
8
END

output:

RNNBBKRQ
RNNKRQBB
RNBBKRQN
RNKNBBQR
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

RNNBBKRQ
RNNKRQBB
RNBBKRQN
RNKNBBQR
RKRBBQNN
RNNBBKRQ
RNNKRQBB
RBBNKNRQ
RKRBBNQN
RNNBBKRQ
RNNBKQBR
RNBNQKRB
RBNKBRNQ
RKRBBNNQ
RNNBBKRQ
RNBNKRQB
RBNKRQBN
RBKRNNBQ
RBQKBNNR
RKRBQNBN
RNNBBKRQ
RNBNKRQB
RBNKRQBN
RBKRBQNN
RKRBNQBN
RNNBBKRQ
RNNKRQBB
RNBBKRQN
RNKQBBNR
RBBKNNRQ
RKRBNNBQ
RNNBBKRQ
RNBNKRQB
RBN...

result: