QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#457174#8839. Knockerucup-team1878#WA 9ms3876kbC++234.0kb2024-06-29 08:47:022024-06-29 08:47:03

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3548kb

input:

1
5

output:

4

result:

ok 1 number(s): "4"

Test #2:

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

input:

2
6 5

output:

7

result:

ok 1 number(s): "7"

Test #3:

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

input:

5
1 2 4 8 16

output:

69

result:

ok 1 number(s): "69"

Test #4:

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

input:

1
139

output:

71

result:

ok 1 number(s): "71"

Test #5:

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

input:

2
359 96

output:

3661

result:

ok 1 number(s): "3661"

Test #6:

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

input:

3
487 237 391

output:

1727635

result:

ok 1 number(s): "1727635"

Test #7:

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

input:

4
411 81 149 407

output:

789553

result:

ok 1 number(s): "789553"

Test #8:

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

input:

5
39 221 395 89 173

output:

29269116

result:

ok 1 number(s): "29269116"

Test #9:

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

input:

6
259 270 448 54 426 167

output:

813709483

result:

ok 1 number(s): "813709483"

Test #10:

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

input:

7
387 422 398 32 488 136 372

output:

407011330

result:

ok 1 number(s): "407011330"

Test #11:

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

input:

8
15 63 451 213 37 209 343 319

output:

141747374

result:

ok 1 number(s): "141747374"

Test #12:

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

input:

9
439 407 197 191 291 486 30 307 11

output:

727389889

result:

ok 1 number(s): "727389889"

Test #13:

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

input:

10
18 18 71 471 121 362 467 107 138 254

output:

118253787

result:

ok 1 number(s): "118253787"

Test #14:

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

input:

11
146 171 316 449 375 434 450 299 202 232 157

output:

400144492

result:

ok 1 number(s): "400144492"

Test #15:

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

input:

12
70 311 74 427 232 211 126 83 357 118 97 428

output:

462347314

result:

ok 1 number(s): "462347314"

Test #16:

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

input:

13
494 155 320 96 486 476 313 71 13 301 332 376 269

output:

88111202

result:

ok 1 number(s): "88111202"

Test #17:

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

input:

14
418 204 77 278 239 457 284 263 372 279 476 416 360 18

output:

651058833

result:

ok 1 number(s): "651058833"

Test #18:

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

input:

15
46 344 323 255 301 234 472 47 28 165 415 159 450 451 336

output:

772893469

result:

ok 1 number(s): "772893469"

Test #19:

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

input:

16
174 188 377 437 54 498 455 239 183 347 59 199 52 488 147 82

output:

972620652

result:

ok 1 number(s): "972620652"

Test #20:

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

input:

17
394 137 134 107 104 275 130 227 339 326 499 251 142 421 470 499 188

output:

899401071

result:

ok 1 number(s): "899401071"

Test #21:

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

input:

18
22 481 380 288 166 348 113 215 198 212 246 494 233 459 293 416 318 467

output:

412927759

result:

ok 1 number(s): "412927759"

Test #22:

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

input:

19
446 30 434 62 123 317 289 203 354 394 390 238 323 392 308 333 233 25 259

output:

769017546

result:

ok 1 number(s): "769017546"

Test #23:

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

input:

20
440 204 481 140 310 354 34 150 184 360 16 301 290 178 138 393 399 260 381 499

output:

602957116

result:

ok 1 number(s): "602957116"

Test #24:

score: 0
Accepted
time: 7ms
memory: 3580kb

input:

100
115 14 432 165 28 396 133 293 448 428 257 20 432 120 90 142 157 353 218 358 394 121 427 229 237 222 94 345 67 360 83 123 320 323 435 393 303 142 6 146 168 346 234 125 117 116 50 105 449 191 423 376 69 300 58 268 381 232 288 41 264 329 37 413 395 25 106 459 474 58 31 135 16 380 113 480 310 459 18...

output:

103940020

result:

ok 1 number(s): "103940020"

Test #25:

score: 0
Accepted
time: 8ms
memory: 3820kb

input:

101
39 358 381 335 89 376 12 473 104 111 401 59 22 157 401 263 71 307 440 302 142 398 437 408 298 134 315 398 379 230 309 201 111 255 44 302 237 13 40 360 269 268 219 487 10 200 361 349 67 157 241 416 162 324 454 2 460 353 335 345 275 435 76 499 426 390 83 82 265 192 376 217 339 392 384 206 266 246 ...

output:

265095240

result:

ok 1 number(s): "265095240"

Test #26:

score: 0
Accepted
time: 7ms
memory: 3836kb

input:

102
168 499 435 17 343 153 496 461 259 89 341 7 112 294 224 180 294 70 162 43 287 380 254 291 51 342 332 259 499 100 228 472 198 392 153 402 263 292 481 267 62 382 308 442 7 180 469 389 481 112 150 172 151 453 146 440 51 178 486 161 182 52 207 481 458 256 71 206 364 326 232 208 354 107 260 340 426 3...

output:

417756099

result:

ok 1 number(s): "417756099"

Test #27:

score: 0
Accepted
time: 8ms
memory: 3576kb

input:

103
296 355 489 494 404 418 479 449 119 475 484 47 11 331 47 97 412 320 180 296 35 466 263 470 408 63 54 119 312 471 454 242 297 324 157 310 197 367 219 174 367 293 89 396 195 263 484 429 407 283 468 428 233 273 246 175 438 299 237 465 398 169 246 55 193 313 356 330 155 164 77 290 73 119 135 270 382...

output:

556170265

result:

ok 1 number(s): "556170265"

Test #28:

score: 0
Accepted
time: 7ms
memory: 3640kb

input:

104
16 495 234 268 158 195 154 141 274 157 220 98 305 265 62 14 338 82 402 37 284 244 69 46 469 271 275 172 228 341 372 321 384 460 266 410 222 430 457 92 456 215 74 55 384 347 92 173 321 238 82 276 30 297 438 409 28 112 92 270 101 478 82 36 416 474 333 454 254 298 126 372 88 323 406 201 31 402 181 ...

output:

728253520

result:

ok 1 number(s): "728253520"

Test #29:

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

input:

105
144 340 196 449 208 268 342 425 134 136 467 138 395 302 385 123 253 332 420 482 224 21 78 225 326 479 292 237 244 7 394 91 175 393 375 114 156 5 194 499 56 126 367 9 381 430 107 213 235 408 196 223 111 222 334 156 119 232 243 290 112 95 121 314 447 340 322 77 45 124 279 171 103 39 282 131 191 28...

output:

986376165

result:

ok 1 number(s): "986376165"

Test #30:

score: 0
Accepted
time: 8ms
memory: 3584kb

input:

106
68 184 442 119 269 236 313 413 289 22 111 382 485 235 400 40 475 391 143 30 177 107 395 108 183 199 217 98 161 378 120 465 466 325 380 418 386 80 240 110 53 240 444 464 69 218 23 253 353 363 309 275 408 246 27 390 6 57 290 94 20 404 160 92 182 397 403 497 144 258 328 253 414 50 157 265 147 68 19...

output:

9022876

result:

ok 1 number(s): "9022876"

Test #31:

score: 0
Accepted
time: 8ms
memory: 3580kb

input:

107
196 325 495 301 23 13 296 105 149 204 51 125 280 272 223 161 402 141 365 271 425 89 108 287 244 408 438 447 473 56 38 440 361 257 489 123 116 451 477 324 154 459 428 314 66 494 38 497 267 34 231 327 194 170 231 328 289 178 349 398 31 317 291 74 213 58 84 325 243 96 173 39 441 62 33 195 307 355 3...

output:

612020389

result:

ok 1 number(s): "612020389"

Test #32:

score: 0
Accepted
time: 8ms
memory: 3580kb

input:

108
416 373 241 278 276 86 484 389 304 386 194 369 166 206 238 79 316 403 383 24 174 163 118 362 101 320 455 12 285 426 468 18 153 190 301 235 49 229 419 231 447 73 413 269 255 281 146 241 193 488 345 71 479 195 127 63 380 299 204 406 234 139 330 160 245 424 73 448 34 230 29 326 457 470 304 126 263 ...

output:

898878045

result:

ok 1 number(s): "898878045"

Test #33:

score: -100
Wrong Answer
time: 9ms
memory: 3588kb

input:

109
44 25 499 460 338 55 455 81 460 69 134 217 256 447 61 496 243 153 105 265 114 248 423 246 162 336 177 373 406 389 491 85 240 326 410 131 471 100 452 446 47 496 298 223 444 365 457 77 311 455 458 327 72 119 319 297 63 420 47 19 245 244 165 438 468 289 154 368 133 364 374 112 472 481 383 260 219 3...

output:

35955390

result:

wrong answer 1st numbers differ - expected: '35955391', found: '35955390'