UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#95178#1424. 加分二叉树M_sea1002ms1200kbC++111.4kb2020-02-18 21:34:162020-02-18 21:34:18

answer


详细

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

Test #1:

score: 20
Accepted
time: 0ms
memory: 1188kb

input:

5
5 7 8 18 19

output:

911
4 2 1 3 5 

result:

ok 2 lines

Test #2:

score: 20
Accepted
time: 1ms
memory: 1196kb

input:

10
5 4 8 9 19 2 1 40 20 22

output:

839701
7 4 2 1 3 5 6 9 8 10 

result:

ok 2 lines

Test #3:

score: 20
Accepted
time: 0ms
memory: 1192kb

input:

15
27 38 9 19 2 1 4 2 2 4 5 6 7 8 9

output:

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

result:

ok 2 lines

Test #4:

score: 20
Accepted
time: 1ms
memory: 1200kb

input:

20
17 18 9 19 3 1 4 2 2 4 5 6 7 8 9 3 8 4 5 6

output:

317358969
5 3 1 2 4 16 12 8 6 7 10 9 11 14 13 15 18 17 19 20 

result:

ok 2 lines

Test #5:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

25
9 8 9 9 5 7 4 2 2 4 5 6 7 8 9 3 3 4 5 1 2 1 2 3 2

output:

781495238
8 4 2 1 3 6 5 7 16 12 10 9 11 14 13 15 20 18 17 19 23 21 22 24 25 

result:

ok 2 lines