UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#99207#1324. 魔板DeNeRATe1003ms18724kbC++1.2kb2020-02-22 22:23:012020-02-22 22:23:02

answer


详细

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

Test #1:

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

input:

2 6 8 4 5 7 3 1

output:

7
BCABCCB

result:

ok 2 lines

Test #2:

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

input:

1 2 3 4 5 6 7 8

output:

0

result:

ok single line: '0'

Test #3:

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

input:

6 7 4 1 8 5 2 3

output:

5
CCBBB

result:

ok 2 lines

Test #4:

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

input:

5 1 2 4 3 7 8 6

output:

8
ABBBCABB

result:

ok 2 lines

Test #5:

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

input:

6 1 5 4 3 2 7 8

output:

14
ABBBCABBBCBBBC

result:

ok 2 lines

Test #6:

score: 12
Accepted
time: 3ms
memory: 18672kb

input:

4 1 2 3 5 8 7 6

output:

15
CCBCBCBBCBCBCCB

result:

ok 2 lines

Test #7:

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

input:

3 4 2 1 5 6 7 8

output:

18
ABCABBBCBBBCBCABCB

result:

ok 2 lines

Test #8:

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

input:

4 3 1 2 5 6 7 8

output:

22
ABBBCABBBCBBBCBCABCBBB

result:

ok 2 lines