QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#531271#9220. Bus Analysisucup-team311#TL 1328ms14704kbC++209.5kb2024-08-24 19:38:542024-08-24 19:38:55

詳細信息

Test #1:

score: 100
Accepted
time: 44ms
memory: 14580kb

input:

3
1 8 20

output:

14

result:

ok 1 number(s): "14"

Test #2:

score: 0
Accepted
time: 50ms
memory: 14616kb

input:

5
25 45 65 85 1000000000

output:

156

result:

ok 1 number(s): "156"

Test #3:

score: 0
Accepted
time: 146ms
memory: 14644kb

input:

1000
2 7 9 12 14 17 18 21 22 28 29 33 34 35 37 38 44 45 46 50 58 59 63 66 71 72 75 76 77 78 80 81 83 84 87 92 100 101 107 108 109 112 114 116 118 123 124 131 142 143 144 145 148 150 151 152 153 155 157 158 165 167 168 169 171 176 182 185 190 192 198 202 204 205 212 213 223 224 225 226 229 231 240 24...

output:

932594593

result:

ok 1 number(s): "932594593"

Test #4:

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

input:

200
1 2 4 9 10 11 12 15 16 17 18 19 22 24 27 28 33 36 37 39 43 44 45 47 48 49 50 51 52 56 60 61 62 63 68 70 71 72 73 74 78 80 81 84 86 92 93 98 99 100 102 105 107 108 110 111 114 115 116 122 123 125 129 132 133 135 137 138 139 141 142 143 144 149 150 151 152 153 154 155 159 160 165 171 172 174 176 1...

output:

422301620

result:

ok 1 number(s): "422301620"

Test #5:

score: 0
Accepted
time: 663ms
memory: 14704kb

input:

1000
999975020 999975030 999975050 999975056 999975085 999975118 999975207 999975213 999975240 999975307 999975332 999975344 999975356 999975384 999975405 999975468 999975499 999975558 999975559 999975571 999975631 999975664 999975680 999975689 999975731 999975738 999975765 999975831 999975838 99997...

output:

335758758

result:

ok 1 number(s): "335758758"

Test #6:

score: 0
Accepted
time: 49ms
memory: 14620kb

input:

3
1 8 20

output:

14

result:

ok 1 number(s): "14"

Test #7:

score: 0
Accepted
time: 1328ms
memory: 14540kb

input:

1000
214 216 381 497 539 645 772 927 1211 1238 1239 1298 1403 1426 1437 1504 1515 1648 1800 1816 1946 2008 2038 2066 2144 2173 2236 2253 2291 2574 2632 2643 2658 2671 2689 2886 2910 2948 3002 3033 3039 3057 3077 3188 3240 3322 3331 3449 3467 3578 3730 3796 3897 3973 4152 4160 4199 4331 4386 4429 465...

output:

877690181

result:

ok 1 number(s): "877690181"

Test #8:

score: 0
Accepted
time: 51ms
memory: 14580kb

input:

1
963837006

output:

2

result:

ok 1 number(s): "2"

Test #9:

score: 0
Accepted
time: 1207ms
memory: 14688kb

input:

999
17 234 337 379 449 607 646 703 716 878 887 898 901 942 964 1075 1198 1356 1432 1546 1547 1619 1668 1769 1818 1826 1881 1900 1960 2017 2088 2266 2273 2339 2376 2377 2396 2399 2438 2461 2484 2567 2620 2661 2680 2791 2881 3040 3081 3082 3094 3102 3205 3218 3225 3227 3239 3250 3331 3393 3425 3530 35...

output:

651884156

result:

ok 1 number(s): "651884156"

Test #10:

score: 0
Accepted
time: 117ms
memory: 14552kb

input:

1000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

754964156

result:

ok 1 number(s): "754964156"

Test #11:

score: 0
Accepted
time: 167ms
memory: 14592kb

input:

1000
1 2 5 12 13 16 19 21 24 40 42 50 51 54 60 61 63 65 69 72 83 100 106 117 121 122 132 133 135 144 149 154 156 157 158 159 163 172 187 190 194 195 196 200 204 221 224 225 236 237 238 239 242 248 250 251 257 258 264 269 272 279 284 286 288 294 298 301 303 322 324 326 328 347 348 358 363 367 368 376...

output:

736216287

result:

ok 1 number(s): "736216287"

Test #12:

score: 0
Accepted
time: 46ms
memory: 14624kb

input:

10
2 5 8 10 11 15 20 32 34 48

output:

3806

result:

ok 1 number(s): "3806"

Test #13:

score: -100
Time Limit Exceeded

input:

1000
3092896 4096697 4935574 5665657 6717242 12350017 13784643 14890236 15103239 16083201 16158442 17406219 18377269 19146618 20149007 20444388 20799716 21703919 22502750 26066931 27425220 27610093 30584293 30942406 33020849 33381138 34889813 35505301 35711460 36618608 37636454 42073851 43834284 441...

output:


result: