UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#48626#254. BWally100634ms16352kbC++2.1kb2019-03-16 10:35:202019-03-16 13:09:12

answer


详细

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

Subtask #1:

score: 30
Accepted

Test #1:

score: 30
Accepted
time: 0ms
memory: 9360kb

input:

2
1226 1209
1025 322

output:

289

result:

ok 1 number(s): "289"

Test #2:

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

input:

100
3436 3707 211 2852 3723 3542 4138 3373 1257 3694 194 2423 1597 4278 1247 4633 2137 504 4266 1001...

output:

374495

result:

ok 1 number(s): "374495"

Test #3:

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

input:

100
5 3 3 8 8 7 6 3 0 7 2 6 8 2 6 2 1 1 7 2 8 1 6 1 4 5 4 9 6 5 0 5 1 6 3 4 1 3 6 6 2 4 7 0 9 8 7 4 ...

output:

1470

result:

ok 1 number(s): "1470"

Test #4:

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

input:

1000
503 457 384 604 632 930 470 292 13 237 111 84 839 745 254 870 534 84 332 485 348 955 666 430 58...

output:

48875223

result:

ok 1 number(s): "48875223"

Test #5:

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

input:

1000
852 207 592 878 422 830 264 217 658 998 194 249 247 940 151 219 29 902 69 249 22 767 975 615 83...

output:

17975699

result:

ok 1 number(s): "17975699"

Subtask #2:

score: 30
Accepted

Test #6:

score: 30
Accepted
time: 53ms
memory: 15212kb

input:

100000
100000 100616 101652 102846 100536 100927 100715 102671 96058 99298 96178 100016 103308 96685...

output:

-1467874

result:

ok 1 number(s): "-1467874"

Test #7:

score: 0
Accepted
time: 61ms
memory: 15212kb

input:

100000
100000 96513 96849 102813 102340 101481 97403 96975 99363 100619 100084 99368 101426 103429 1...

output:

-1469123

result:

ok 1 number(s): "-1469123"

Test #8:

score: 0
Accepted
time: 62ms
memory: 15208kb

input:

100000
100000 103569 100374 101032 99429 98355 97566 98827 96651 100670 97457 97966 98694 100040 961...

output:

-1462864

result:

ok 1 number(s): "-1462864"

Test #9:

score: 0
Accepted
time: 60ms
memory: 15192kb

input:

100000
100007 100827 100253 100698 100273 100925 99041 99554 101085 100976 100569 99658 99397 99086 ...

output:

1899892

result:

ok 1 number(s): "1899892"

Test #10:

score: 0
Accepted
time: 37ms
memory: 15644kb

input:

100000
200000 100001 100002 100003 100004 100005 100006 100007 100008 100009 100010 100011 100012 10...

output:

13333331050

result:

ok 1 number(s): "13333331050"

Subtask #3:

score: 40
Accepted

Test #11:

score: 40
Accepted
time: 67ms
memory: 15192kb

input:

100000
11502 36644 40712 91931 3618 73988 75975 77467 49238 26716 92646 93706 9349 17682 11450 2112 ...

output:

2886303

result:

ok 1 number(s): "2886303"

Test #12:

score: 0
Accepted
time: 67ms
memory: 15208kb

input:

100000
49493 41557 41054 19123 83167 47457 50826 92000 96661 44987 55128 73991 92582 24937 61955 809...

output:

1706802

result:

ok 1 number(s): "1706802"

Test #13:

score: 0
Accepted
time: 55ms
memory: 15184kb

input:

100000
1067 1622 1353 1183 1192 1292 1229 1432 1210 1364 1501 1105 1738 1437 1572 1141 1842 1869 164...

output:

-1018375986

result:

ok 1 number(s): "-1018375986"

Test #14:

score: 0
Accepted
time: 60ms
memory: 15208kb

input:

100000
88145 92956 96302 13520 83197 33749 102562 12034 15976 38139 102495 81607 39136 73564 88103 2...

output:

-494551563

result:

ok 1 number(s): "-494551563"

Test #15:

score: 0
Accepted
time: 27ms
memory: 16352kb

input:

100000
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64...

output:

399996

result:

ok 1 number(s): "399996"

Test #16:

score: 0
Accepted
time: 33ms
memory: 15644kb

input:

100000
200000 100001 100002 100003 100004 100005 100006 100007 100008 100009 100010 100011 100012 10...

output:

13333331050

result:

ok 1 number(s): "13333331050"

Test #17:

score: 0
Accepted
time: 26ms
memory: 15184kb

input:

100000
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

160004600001

result:

ok 1 number(s): "160004600001"

Test #18:

score: 0
Accepted
time: 26ms
memory: 15180kb

input:

100000
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

-99994999996

result:

ok 1 number(s): "-99994999996"