QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#46356#3090. Inverse ProblemcsffmWA 3ms7228kbC++201.3kb2022-08-29 04:06:412022-08-29 04:06:42

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 5748kb

input:

7 2
2 1

output:

720

result:

ok single line: '720'

Test #2:

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

input:

8 5
2 3 4 5 8

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 1ms
memory: 5592kb

input:

498 121
20 35 40 72 79 92 113 117 154 231 243 244 264 268 304 337 362 378 463 477 56 494 495 1 342 395 183 423 291 475 82 422 96 265 83 283 242 34 187 75 74 47 208 380 400 17 202 50 418 73 233 307 181 344 48 149 107 435 365 459 280 55 375 391 403 241 64 374 10 386 322 308 186 136 277 497 332 262 165...

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 3ms
memory: 5724kb

input:

499 396
2 3 6 8 11 13 14 15 16 19 22 23 24 32 36 37 40 41 44 51 53 56 57 58 61 62 66 68 74 75 76 79 80 85 86 87 89 90 91 92 96 98 101 102 109 110 111 113 114 115 117 119 122 123 127 129 130 135 140 141 145 149 150 160 163 166 167 171 173 176 177 183 185 195 197 200 204 207 210 216 217 229 230 235 23...

output:

824443602

result:

ok single line: '824443602'

Test #5:

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

input:

500 484
2 3 6 9 11 14 16 17 19 22 23 24 25 26 28 30 31 34 36 37 41 51 52 53 57 60 62 63 64 67 69 73 74 79 81 83 85 87 88 92 101 103 105 108 113 119 120 122 123 125 126 127 128 129 130 131 134 136 137 140 142 146 149 151 152 156 157 158 159 160 162 163 165 169 170 172 175 178 183 184 185 187 194 197 ...

output:

571655683

result:

ok single line: '571655683'

Test #6:

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

input:

500 25
6 16 62 1 91 97 112 158 186 300 327 362 364 367 401 412 180 297 254 372 302 131 38 346 321

output:

0

result:

ok single line: '0'

Test #7:

score: -100
Wrong Answer
time: 0ms
memory: 7228kb

input:

249999 198363
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 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 83 86 87 88 90 94 95 96 98 99 100 101 105 106 107 108 109 110 111 112 113...

output:

319210932

result:

wrong answer 1st lines differ - expected: '190813000', found: '319210932'