UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#48802#255. Cattack1001178ms9392kbC++112.7kb2019-03-16 12:20:122019-03-16 13:16:48

answer


Details

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

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 61ms
memory: 5488kb

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: 63ms
memory: 5484kb

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: 69ms
memory: 5488kb

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: 58ms
memory: 5496kb

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: 69ms
memory: 5500kb

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: 61ms
memory: 5496kb

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: 197ms
memory: 9388kb

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: 212ms
memory: 9392kb

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: 194ms
memory: 9388kb

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: 194ms
memory: 9388kb

input:

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

output:

425536377

result:

ok 1 number(s): "425536377"