UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#1533#30. candyroot10042ms1288kbC++747b2018-09-08 09:45:172018-09-08 09:45:33

answer


详细

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

Test #1:

score: 5
Accepted
time: 0ms
memory: 512kb

input:

5
319249 324948 443262 672868 827658
111609 501503 674927 901572 903208

output:

0

result:

ok single line: '0'

Test #2:

score: 5
Accepted
time: 0ms
memory: 516kb

input:

5
173266 227566 243319 256699 962850
103373 173262 489644 769413 983788

output:

367073

result:

ok single line: '367073'

Test #3:

score: 5
Accepted
time: 0ms
memory: 512kb

input:

5
215984 249200 799963 847684 998838
84227 220257 590056 634630 876932

output:

418861

result:

ok single line: '418861'

Test #4:

score: 5
Accepted
time: 0ms
memory: 516kb

input:

10
98023 310027 397043 474438 501836 581768 767146 788248 982320 987668
153283 191196 422139 487393 ...

output:

3917022

result:

ok single line: '3917022'

Test #5:

score: 5
Accepted
time: 0ms
memory: 516kb

input:

10
79325 100875 405050 454747 542563 713096 739966 770177 847656 913803
1710 11647 118545 240651 280...

output:

2127722

result:

ok single line: '2127722'

Test #6:

score: 5
Accepted
time: 0ms
memory: 512kb

input:

10
151603 261989 409784 558285 584148 716839 718441 783181 877976 942604
110644 357440 491814 500878...

output:

2821445

result:

ok single line: '2821445'

Test #7:

score: 5
Accepted
time: 0ms
memory: 512kb

input:

50
2790 15339 29980 30438 40712 86536 88537 114289 138681 193926 201724 207280 234929 245783 254588 ...

output:

22073951

result:

ok single line: '22073951'

Test #8:

score: 5
Accepted
time: 0ms
memory: 512kb

input:

50
43814 72181 85698 95441 106359 144153 178276 183002 183405 226080 251033 278939 303225 328442 335...

output:

20703712

result:

ok single line: '20703712'

Test #9:

score: 5
Accepted
time: 0ms
memory: 508kb

input:

50
17299 22960 28536 83507 103666 112253 116755 128777 133551 164433 217228 229007 250741 255468 271...

output:

20666538

result:

ok single line: '20666538'

Test #10:

score: 5
Accepted
time: 0ms
memory: 516kb

input:

200
11558 14857 17479 22392 37040 51900 56705 62181 65402 74173 82827 86096 87055 94518 100229 10285...

output:

94687219

result:

ok single line: '94687219'

Test #11:

score: 5
Accepted
time: 0ms
memory: 516kb

input:

200
4755 6320 8587 15081 16349 18557 20491 21720 21793 24839 36596 44138 47315 55371 56395 73832 803...

output:

93533398

result:

ok single line: '93533398'

Test #12:

score: 5
Accepted
time: 0ms
memory: 512kb

input:

200
3227 6491 13116 13988 20261 25199 55832 58843 61649 62345 63972 79107 81951 82351 82363 83597 83...

output:

92575106

result:

ok single line: '92575106'

Test #13:

score: 5
Accepted
time: 0ms
memory: 520kb

input:

1000
1121 1968 2951 6572 6593 6786 7007 7054 7255 8571 8764 8978 10655 10664 11815 11980 12448 13009...

output:

490887762

result:

ok single line: '490887762'

Test #14:

score: 5
Accepted
time: 0ms
memory: 520kb

input:

1000
322 1053 1425 2126 3110 3937 4097 5997 7356 8238 8346 8501 9710 10324 10667 12400 12436 13900 1...

output:

476550901

result:

ok single line: '476550901'

Test #15:

score: 5
Accepted
time: 0ms
memory: 520kb

input:

1000
3261 4271 4616 4626 5374 5883 7434 8134 8516 9700 10016 12078 12311 12879 13056 13287 14940 153...

output:

503514521

result:

ok single line: '503514521'

Test #16:

score: 5
Accepted
time: 0ms
memory: 548kb

input:

5000
639 1086 1091 1183 1511 1702 1959 2185 2268 2456 2461 2922 2946 3039 3266 3286 3465 3911 3972 4...

output:

2469289530

result:

ok single line: '2469289530'

Test #17:

score: 5
Accepted
time: 2ms
memory: 552kb

input:

5000
147 351 522 581 618 851 854 906 1862 1943 1984 2018 2034 2090 2115 2143 2206 2540 2900 3122 330...

output:

2489319925

result:

ok single line: '2489319925'

Test #18:

score: 5
Accepted
time: 0ms
memory: 548kb

input:

5000
517 970 1379 1572 1589 1668 1840 1860 2205 2214 2473 2573 2749 2870 2899 3029 3090 3977 4206 43...

output:

2471377200

result:

ok single line: '2471377200'

Test #19:

score: 5
Accepted
time: 20ms
memory: 1288kb

input:

100000
17 58 58 66 69 71 77 78 117 127 145 151 158 179 184 196 199 211 220 225 235 262 269 272 284 2...

output:

49971163934

result:

ok single line: '49971163934'

Test #20:

score: 5
Accepted
time: 20ms
memory: 1288kb

input:

100000
4 7 10 10 35 43 43 49 55 59 62 68 83 99 100 100 101 107 113 116 127 128 132 155 173 182 184 2...

output:

49966317075

result:

ok single line: '49966317075'