UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#102846#1568. 推销员mqy100128ms3148kbC++638b2020-02-28 09:41:072020-02-28 09:41:08

answer


详细

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

Test #1:

score: 9
Accepted
time: 24ms
memory: 3144kb

input:

99304
4 736 840 904 1449 2391 3254 3893 4053 4438 5313 5779 6687 7071 7455 8112 8920 9625 10455 1055...

output:

99061235
99062222
99063209
99064195
99065177
99066154
99067127
99068100
99069071
99070041
99071007
9...

result:

ok 99304 lines

Test #2:

score: 9
Accepted
time: 0ms
memory: 1228kb

input:

996
1 897 1315 2217 2705 3039 3139 3980 4533 4768 5062 5572 5784 6037 6042 6379 6675 7298 8288 8668 ...

output:

972512
973503
974494
975484
976473
977462
978449
979432
980408
981384
982358
983322
984275
985227
98...

result:

ok 996 lines

Test #3:

score: 9
Accepted
time: 0ms
memory: 1216kb

input:

19
3 501 779 1018 1214 1299 2047 2818 2990 3890 3933 4437 4889 5642 5643 6635 6811 7799 7823
408 254...

output:

16448
17372
18156
18748
19333
19825
20305
20773
21181
21555
21922
22250
22563
22817
23052
23286
2333...

result:

ok 19 lines

Test #4:

score: 9
Accepted
time: 0ms
memory: 1212kb

input:

96
5 299 358 1327 1801 2011 2316 2462 3415 3786 4274 4895 5699 6009 6675 7621 7929 8305 8322 8520 95...

output:

94462
95440
96403
97349
98267
99179
100074
100958
101838
102714
103587
104442
105291
106139
106986
1...

result:

ok 96 lines

Test #5:

score: 9
Accepted
time: 0ms
memory: 1212kb

input:

18
1 273 649 1583 2026 2156 2811 3247 3272 3635 3815 4247 4582 5253 5277 5624 6247 6914
433 822 327 ...

output:

14451
15449
16440
17345
18167
18855
19469
20020
20460
20893
21299
21626
21869
22040
22183
22296
2239...

result:

ok 18 lines

Test #6:

score: 9
Accepted
time: 0ms
memory: 1212kb

input:

97
5 745 946 946 1530 1898 2015 2534 3207 3917 4197 4866 4927 5673 5913 6084 6903 7377 8287 8783 941...

output:

102766
103762
104738
105711
106671
107614
108530
109419
110288
111116
111936
112756
113571
114372
11...

result:

ok 97 lines

Test #7:

score: 9
Accepted
time: 0ms
memory: 1212kb

input:

5
1 2 3 4 5
1 2 3 4 5

output:

15
19
22
24
25

result:

ok 5 lines

Test #8:

score: 9
Accepted
time: 30ms
memory: 3148kb

input:

99869
2 2 3 3 3 3 4 5 5 6 8 8 10 12 14 14 14 15 15 17 17 17 19 21 21 21 23 25 26 26 27 29 29 31 33 3...

output:

199633
200630
201627
202622
203615
204607
205596
206583
207570
208557
209543
210526
211508
212489
21...

result:

ok 99869 lines

Test #9:

score: 9
Accepted
time: 1ms
memory: 1232kb

input:

994
2 402 549 1244 1385 2328 2759 3479 4027 4259 4830 5008 5013 5503 6054 6320 6800 7221 7778 7995 8...

output:

994061
995046
996023
996999
997973
998946
999919
1000891
1001859
1002821
1003782
1004740
1005696
100...

result:

ok 994 lines

Test #10:

score: 9
Accepted
time: 40ms
memory: 3144kb

input:

99033
2 3 3 5 7 8 8 10 12 14 14 16 17 19 20 20 21 23 24 24 25 27 27 27 27 28 29 30 30 31 33 34 35 37...

output:

198887
199886
200881
201875
202867
203859
204851
205842
206832
207821
208809
209797
210781
211765
21...

result:

ok 99033 lines

Test #11:

score: 9
Accepted
time: 33ms
memory: 3148kb

input:

99097
1 547 1028 1496 2037 2408 3359 4168 4705 4820 5341 6233 6434 7041 7792 7921 8599 8845 9473 985...

output:

98921197
98922192
98923177
98924148
98925119
98926089
98927058
98928026
98928991
98929954
98930913
9...

result:

ok 99097 lines