QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465870#7179. Fischer's Chess Guessing Gameucup-team4347TL 4ms3684kbC++234.5kb2024-07-07 12:27:282024-07-07 12:27:29

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 3684kb

input:

GAME 1
3
1
6
8
END

output:

RQKNBBRN
NRBKQBRN
RKQBBRNN
RKRBBQNN

result:

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

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

NRNBBKQR
RNQNBBKR
BBQRNKNR
RBNKBQRN
RQNKBRNB
RKRBBQNN
NRBBNKQR
RBBQKNNR
RKNNBBQR
QRNKBBNR
RKBNNBRQ
RKRBBNQN
RQKBBNRN
RQKNBRNB
RNKRBBQN
RKQBBNNR
RKRBBNNQ
NRNBBKQR
BQNRKRNB
RBBNNQKR
RNKBRNBQ
RKRBQNBN
NRBBNKQR
RBBNQNKR
QRKNNRBB
NRQKBNRB
RKRBNQBN
RQKNBBRN
RNBQKRNB
BNRKNBQR
NBRNKQBR
RKQBNNBR
RKRBNNBQ
RQK...

result: