UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#48575#255. Czhoutb23331001456ms9348kbC++111.0kb2019-03-16 10:11:302019-03-16 13:07:01

answer


详细

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

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 1156kb

input:

15
14 9 13 14 8 5 2 6 10 11 9 12 8 15 11

output:

6725457

result:

ok 1 number(s): "6725457"

Subtask #2:

score: 20
Accepted

Test #2:

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

input:

100
4 12 54 1 68 59 47 36 53 71 30 38 68 89 38 42 99 27 36 1 17 56 94 30 23 21 43 97 92 56 9 23 48 8...

output:

410112752

result:

ok 1 number(s): "410112752"

Test #3:

score: 0
Accepted
time: 0ms
memory: 1152kb

input:

100
69 57 88 83 5 45 34 68 16 20 12 1 99 86 56 30 88 66 28 75 95 92 70 5 42 44 68 95 41 98 11 70 52 ...

output:

866296366

result:

ok 1 number(s): "866296366"

Subtask #3:

score: 30
Accepted

Test #4:

score: 30
Accepted
time: 1ms
memory: 1184kb

input:

3000
1189 1315 1798 1789 354 1413 250 2264 686 372 257 2622 1935 789 1445 207 2689 408 1122 2506 104...

output:

190797408

result:

ok 1 number(s): "190797408"

Test #5:

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

input:

3000
777 899 1678 120 2816 553 1763 1956 95 2688 971 1447 2575 518 1861 257 491 1257 799 2965 1896 2...

output:

78094447

result:

ok 1 number(s): "78094447"

Test #6:

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

input:

3000
2877 2206 156 2134 1343 626 1718 2869 1536 359 150 624 82 1106 790 121 301 1340 1406 665 2733 1...

output:

436256197

result:

ok 1 number(s): "436256197"

Subtask #4:

score: 40
Accepted

Test #7:

score: 40
Accepted
time: 345ms
memory: 9348kb

input:

1000000
300287 376675 583453 373517 277091 518283 905450 941046 437648 89549 796184 331117 393512 87...

output:

243202879

result:

ok 1 number(s): "243202879"

Test #8:

score: 0
Accepted
time: 373ms
memory: 9348kb

input:

1000000
636190 417268 77776 309402 94113 641002 603085 483126 92217 520051 855779 99968 585708 71561...

output:

465794803

result:

ok 1 number(s): "465794803"

Test #9:

score: 0
Accepted
time: 360ms
memory: 9348kb

input:

1000000
955712 521170 125695 372693 556413 196893 247860 318612 834326 574553 382321 354616 650273 2...

output:

313693913

result:

ok 1 number(s): "313693913"

Test #10:

score: 0
Accepted
time: 375ms
memory: 9348kb

input:

1000000
937456 88598 258222 334191 212793 593706 246772 675726 129595 752719 295763 142986 392521 57...

output:

425536377

result:

ok 1 number(s): "425536377"