UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#100129#1324. 魔板2017beijiang3531009ms15028kbC++1.5kb2020-02-24 11:34:272020-02-24 11:34:28

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 12
Accepted
time: 0ms
memory: 13016kb

input:

2 6 8 4 5 7 3 1

output:

7
BCABCCB

result:

ok 2 lines

Test #2:

score: 12
Accepted
time: 0ms
memory: 12992kb

input:

1 2 3 4 5 6 7 8

output:

0

result:

ok single line: '0'

Test #3:

score: 12
Accepted
time: 0ms
memory: 12996kb

input:

6 7 4 1 8 5 2 3

output:

5
CCBBB

result:

ok 2 lines

Test #4:

score: 12
Accepted
time: 0ms
memory: 13020kb

input:

5 1 2 4 3 7 8 6

output:

8
ABBBCABB

result:

ok 2 lines

Test #5:

score: 12
Accepted
time: 2ms
memory: 13668kb

input:

6 1 5 4 3 2 7 8

output:

14
ABBBCABBBCBBBC

result:

ok 2 lines

Test #6:

score: 12
Accepted
time: 0ms
memory: 14456kb

input:

4 1 2 3 5 8 7 6

output:

15
CCBCBCBBCBCBCCB

result:

ok 2 lines

Test #7:

score: 12
Accepted
time: 7ms
memory: 15024kb

input:

3 4 2 1 5 6 7 8

output:

18
ABCABBBCBBBCBCABCB

result:

ok 2 lines

Test #8:

score: 12
Accepted
time: 0ms
memory: 15028kb

input:

4 3 1 2 5 6 7 8

output:

22
ABBBCABBBCBBBCBCABCBBB

result:

ok 2 lines