UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#47730#85. watersuda_18294010811003124ms2480kbC++1.2kb2019-03-01 21:22:012019-03-01 21:36:04

answer


详细

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

Test #1:

score: 10
Accepted
time: 0ms
memory: 2480kb

input:

9 7 1
3 3

output:

11
1 5 13 23 33 42 50 56 60 62 63

result:

ok 2 lines

Test #2:

score: 10
Accepted
time: 0ms
memory: 2476kb

input:

7 7 1
5 6

output:

10
1 5 12 20 28 36 42 46 48 49

result:

ok 2 lines

Test #3:

score: 10
Accepted
time: 3ms
memory: 2480kb

input:

99 96 8
37 53
37 34
23 88
72 9
90 57
91 17
68 40
98 2

output:

70
8 40 102 192 311 459 636 842 1077 1338 1619 1909 2206 2517 2825 3144 3474 3807 4141 4470 4768 506...

result:

ok 2 lines

Test #4:

score: 10
Accepted
time: 2ms
memory: 2476kb

input:

98 97 10
6 17
91 3
93 85
58 30
79 23
10 67
11 46
68 87
20 13
49 77

output:

45
10 50 130 249 406 601 832 1097 1395 1720 2069 2441 2832 3240 3649 4037 4415 4774 5122 5464 5799 6...

result:

ok 2 lines

Test #5:

score: 10
Accepted
time: 3ms
memory: 2480kb

input:

99 96 7
61 41
84 4
64 84
32 36
64 38
80 57
93 67

output:

76
7 35 91 171 272 395 540 706 892 1098 1324 1570 1814 2073 2346 2633 2933 3239 3512 3789 4071 4358 ...

result:

ok 2 lines

Test #6:

score: 10
Accepted
time: 573ms
memory: 2476kb

input:

999 998 97
9 339
960 41
249 137
644 862
927 193
117 754
516 873
60 821
755 398
822 756
211 300
665 4...

output:

216
97 484 1257 2416 3961 5892 8204 10888 13945 17352 21114 25195 29609 34356 39421 44803 50471 5642...

result:

ok 2 lines

Test #7:

score: 10
Accepted
time: 539ms
memory: 2476kb

input:

1000 996 100
200 124
857 581
267 527
434 306
189 575
808 81
669 576
914 361
757 868
635 519
942 751
...

output:

202
100 499 1296 2491 4084 6074 8460 11242 14420 17993 21959 26317 31020 36054 41426 47130 53191 595...

result:

ok 2 lines

Test #8:

score: 10
Accepted
time: 745ms
memory: 2480kb

input:

998 999 97
888 840
910 199
586 783
448 939
350 839
335 582
603 780
763 249
181 804
495 589
879 217
6...

output:

266
97 484 1254 2404 3934 5843 8129 10782 13787 17145 20859 24927 29343 34105 39219 44685 50503 5667...

result:

ok 2 lines

Test #9:

score: 10
Accepted
time: 610ms
memory: 2476kb

input:

996 999 97
604 448
919 912
77 272
459 661
474 148
827 320
733 65
664 151
762 638
483 661
832 567
778...

output:

226
97 484 1253 2398 3921 5811 8070 10695 13680 17023 20728 24776 29179 33933 39035 44483 50275 5640...

result:

ok 2 lines

Test #10:

score: 10
Accepted
time: 649ms
memory: 2480kb

input:

997 1000 96
751 341
887 537
95 619
249 4
779 484
564 604
841 690
458 480
754 994
360 416
528 120
405...

output:

244
96 479 1244 2390 3907 5789 8038 10650 13621 16942 20612 24614 28959 33606 38551 43794 49334 5518...

result:

ok 2 lines