UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#79431#773. aroot1005487ms50632kbC++115.6kb2019-10-06 14:46:372019-10-06 14:46:37

answer


详细

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

Subtask #1:

score: 20
Accepted

Test #1:

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

input:

20
613409771 121758655 697707765 59269971 905781797 720905120 36516410 524079602 705099420 478135712...

output:

12449824559

result:

ok 1 number(s): "12449824559"

Test #2:

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

input:

20
138352481 28307003 27604441 208488589 58445500 308949568 422474272 435668161 238804060 399875768 ...

output:

9863890479

result:

ok 1 number(s): "9863890479"

Subtask #2:

score: 20
Accepted

Test #3:

score: 20
Accepted
time: 3ms
memory: 1328kb

input:

1000
676211117 138439724 454416596 870886189 675614930 23431327 598192239 36969894 74448658 25821055...

output:

714622663879

result:

ok 1 number(s): "714622663879"

Test #4:

score: 0
Accepted
time: 2ms
memory: 1332kb

input:

1000
4538825 5452835 8053296 12586928 12533114 10376038 10739148 7618257 7136271 9343392 7847422 157...

output:

469115865231

result:

ok 1 number(s): "469115865231"

Test #5:

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

input:

1000
42925061 22355542 9828297 25838654 6357419 32988647 21567910 32081947 45330115 18635495 6241474...

output:

482585420969

result:

ok 1 number(s): "482585420969"

Subtask #3:

score: 10
Accepted

Test #6:

score: 10
Accepted
time: 145ms
memory: 7080kb

input:

500000
2 3 4 2 5 3 3 2 1 2 2 3 1 4 4 2 2 1 4 5 1 3 4 2 3 4 2 4 2 5 3 1 3 2 1 1 1 1 3 2 2 3 2 5 4 5 1...

output:

1900458

result:

ok 1 number(s): "1900458"

Subtask #4:

score: 30
Accepted

Test #7:

score: 30
Accepted
time: 445ms
memory: 12396kb

input:

100000
690452943 683622864 309678307 476756573 694785717 452599681 445859013 116870484 986997645 720...

output:

72988906710856

result:

ok 1 number(s): "72988906710856"

Test #8:

score: 0
Accepted
time: 322ms
memory: 12760kb

input:

100000
101405 259801 256678 364576 133524 205401 53531 472085 65487 28158 227826 399976 301754 21053...

output:

46787173714279

result:

ok 1 number(s): "46787173714279"

Subtask #5:

score: 20
Accepted

Test #9:

score: 20
Accepted
time: 2794ms
memory: 48772kb

input:

500000
997022616 593049634 130120324 616874507 324981039 525732979 86416749 465027826 744218551 7903...

output:

365780287779771

result:

ok 1 number(s): "365780287779771"

Test #10:

score: 0
Accepted
time: 1776ms
memory: 50632kb

input:

500000
86174 67979 2346 104418 45160 78537 29423 23920 81264 40726 19102 44355 48355 2775 89215 2578...

output:

234012939578117

result:

ok 1 number(s): "234012939578117"