QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#493146#7179. Fischer's Chess Guessing GameGuanYunchangTL 47ms3756kbC++204.0kb2024-07-26 20:17:332024-07-26 20:17:33

详细

Test #1:

score: 100
Accepted
time: 47ms
memory: 3756kb

input:

GAME 1
1
1
0
0
0
8
END

output:

RBBKNNQR
BNQRKBNR
BBNNRKRQ
NRKRQNBB
BBNNQRKR
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

GAME 1
1
1
0
0
0
8
GAME 2
3
0
3
2
0
8
GAME 3
2
1
3
3
0
8
GAME 4
2
1
2
3
3
8
GAME 5
2
0
3
5
0
8
GAME 6
3
1
6
2
0
8
GAME 7
1
2
1
4
1
8
GAME 8
2
1
2
1
1
3

output:

RBBKNNQR
BNQRKBNR
BBNNRKRQ
NRKRQNBB
BBNNQRKR
RKRBBQNN
RBBKNNQR
BBNQNRKR
RKBNQNRB
QNRKRNBB
BBNNQRKR
RKRBBNQN
RBBKNNQR
BRNKQBNR
BBRNKNRQ
NQRKBNRB
BBNNQRKR
RKRBBNNQ
RBBKNNQR
BRNKQBNR
BBRNKNRQ
NQRKRNBB
BBRKQRNN
RKRBQNBN
RBBKNNQR
BRNKQBNR
RBKNBQRN
RQKBNRBN
BBNNQRKR
RKRBNQBN
RBBKNNQR
BBNQNRKR
RKBBNNRQ
RKB...

result: