UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#30144#61. sequencewangyuji1001350ms239400kbC++3.5kb2018-10-23 22:21:132018-10-23 22:21:14

answer


详细

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

Test #1:

score: 10
Accepted
time: 37ms
memory: 203936kb

input:

9 6
90513232 547369237 29366973 963238646 508659083 197312949 -388136260 839063142 514376598

output:

3689899860 1
9 7
1 8

result:

ok Correct!

Test #2:

score: 10
Accepted
time: 16ms
memory: 203940kb

input:

10 3
-148714441 -773226103 351785224 873402083 964619994 955124079 -590107904 -534586469 -144883305 ...

output:

3144931380 1
6 2
2 5

result:

ok Correct!

Test #3:

score: 10
Accepted
time: 26ms
memory: 203956kb

input:

896 10
-103258000 -267161128 342049077 -576014424 -251468123 -258154726 532328252 -136555726 -855120...

output:

34734718231 10
180 454
38 458
37 479
73 497
166 506
40 547
411 556
182 557
887 640
861 622
442 651

result:

ok Correct!

Test #4:

score: 10
Accepted
time: 32ms
memory: 203960kb

input:

829 5
-736572685 732020370 60109046 892631666 -598811858 744210292 -741135695 252424944 -897618739 -...

output:

17323620468 5
758 59
305 35
601 34
623 33
182 29
12 70

result:

ok Correct!

Test #5:

score: 10
Accepted
time: 19ms
memory: 203960kb

input:

1000 10
-146246732 -839681156 -138239993 911487408 116066094 97240933 852801575 -49047630 573040952 ...

output:

31711559641 10
40 93
829 227
968 192
266 187
335 182
479 140
899 138
943 114
839 106
425 94
77 248

result:

ok Correct!

Test #6:

score: 10
Accepted
time: 57ms
memory: 229044kb

input:

51802 1
460031549 17261281 -493373332 -295361880 113022619 -288916664 11067353 -201350752 770468634 ...

output:

40529819515 1
14486 29740
29537 29840

result:

ok Correct!

Test #7:

score: 10
Accepted
time: 87ms
memory: 238268kb

input:

79111 1
-736675260 584393324 432351054 184812559 -54299869 -732773262 -724040719 -392301283 -5402913...

output:

33755742626 1
52224 28887
27858 29268

result:

ok Correct!

Test #8:

score: 10
Accepted
time: 102ms
memory: 239396kb

input:

100000 1
413895731 -867170142 46183962 954743605 -582068473 -499660757 -582356140 440310396 19028390...

output:

33766210686 1
92821 44585
44452 45048

result:

ok Correct!

Test #9:

score: 10
Accepted
time: 735ms
memory: 239400kb

input:

100000 10
866149389 -394971884 703119433 -8929233 442012074 -553957452 989992199 -258881087 88432484...

output:

54833163788 10
12975 73282
65963 73320
32318 73330
18115 73358
35212 73466
57673 73518
34262 73550
4...

result:

ok Correct!

Test #10:

score: 10
Accepted
time: 239ms
memory: 238232kb

input:

75414 4
516339273 -325212966 84971077 19447127 706751421 -388264011 277570310 857090528 266804338 37...

output:

45112654005 4
1414 14637
56652 14999
36631 14907
73025 14796
14325 15096

result:

ok Correct!