UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#103560#1591. 合并石子zsq2591000ms1256kbC++1018b2020-02-29 14:25:492020-02-29 14:25:50

answer


详细

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

Test #1:

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

input:

30
2662
7162
4069
4141
7953
1087
3797
6546
6172
2570
2565
9948
2618
5951
5307
8238
4204
1390
7941
69...

output:

754709

result:

ok single line: '754709'

Test #2:

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

input:

7
13
7
8
16
21
4
18

output:

239

result:

ok single line: '239'

Test #3:

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

input:

7
13
77
80
16
29
41
28

output:

772

result:

ok single line: '772'

Test #4:

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

input:

5
99
99
99
99
99

output:

1188

result:

ok single line: '1188'

Test #5:

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

input:

69
7393
3905
3568
4805
2177
442
8013
8004
6840
6965
2214
666
9472
912
9475
7074
1483
7293
4280
2521
...

output:

2036535

result:

ok single line: '2036535'