QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#459731 | #8839. Knocker | ucup-team2818 | TL | 745ms | 6996kb | C++17 | 1.4kb | 2024-06-30 12:32:17 | 2024-06-30 12:32:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3668kb
input:
1 5
output:
4
result:
ok 1 number(s): "4"
Test #2:
score: 0
Accepted
time: 0ms
memory: 5788kb
input:
2 6 5
output:
7
result:
ok 1 number(s): "7"
Test #3:
score: 0
Accepted
time: 1ms
memory: 5744kb
input:
5 1 2 4 8 16
output:
69
result:
ok 1 number(s): "69"
Test #4:
score: 0
Accepted
time: 1ms
memory: 5736kb
input:
1 139
output:
71
result:
ok 1 number(s): "71"
Test #5:
score: 0
Accepted
time: 0ms
memory: 5660kb
input:
2 359 96
output:
3661
result:
ok 1 number(s): "3661"
Test #6:
score: 0
Accepted
time: 5ms
memory: 5668kb
input:
3 487 237 391
output:
1727635
result:
ok 1 number(s): "1727635"
Test #7:
score: 0
Accepted
time: 5ms
memory: 5676kb
input:
4 411 81 149 407
output:
789553
result:
ok 1 number(s): "789553"
Test #8:
score: 0
Accepted
time: 6ms
memory: 5736kb
input:
5 39 221 395 89 173
output:
29269116
result:
ok 1 number(s): "29269116"
Test #9:
score: 0
Accepted
time: 9ms
memory: 5680kb
input:
6 259 270 448 54 426 167
output:
813709483
result:
ok 1 number(s): "813709483"
Test #10:
score: 0
Accepted
time: 13ms
memory: 5756kb
input:
7 387 422 398 32 488 136 372
output:
407011330
result:
ok 1 number(s): "407011330"
Test #11:
score: 0
Accepted
time: 13ms
memory: 5748kb
input:
8 15 63 451 213 37 209 343 319
output:
141747374
result:
ok 1 number(s): "141747374"
Test #12:
score: 0
Accepted
time: 17ms
memory: 5700kb
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: 16ms
memory: 5744kb
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: 14ms
memory: 5704kb
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: 18ms
memory: 5824kb
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: 26ms
memory: 5704kb
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: 26ms
memory: 5836kb
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: 23ms
memory: 5780kb
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: 32ms
memory: 5748kb
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: 33ms
memory: 5768kb
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: 32ms
memory: 5740kb
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: 31ms
memory: 5868kb
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: 41ms
memory: 5812kb
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: 184ms
memory: 6104kb
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: 192ms
memory: 6140kb
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: 186ms
memory: 6080kb
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: 183ms
memory: 6064kb
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: 189ms
memory: 6012kb
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: 204ms
memory: 6120kb
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: 204ms
memory: 6116kb
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: 213ms
memory: 6120kb
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: 204ms
memory: 6096kb
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: 0
Accepted
time: 207ms
memory: 6072kb
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:
35955391
result:
ok 1 number(s): "35955391"
Test #34:
score: 0
Accepted
time: 210ms
memory: 6120kb
input:
110 230 404 150 322 421 92 96 29 290 239 69 176 235 425 83 56 305 197 23 248 393 385 439 60 61 228 63 254 213 86 373 341 123 488 128 452 139 473 349 13 387 142 133 323 108 488 400 126 104 128 146 15 342 245 412 382 305 494 375 42 221 112 30 381 67 194 435 357 238 21 218 407 445 476 186 264 186 361 1...
output:
124946343
result:
ok 1 number(s): "124946343"
Test #35:
score: 0
Accepted
time: 673ms
memory: 6052kb
input:
480 479 349 2 441 376 375 215 79 326 245 349 93 256 6 42 86 37 489 357 107 100 380 476 241 278 420 265 405 161 318 26 449 265 7 206 393 185 317 317 50 223 461 48 470 489 327 318 142 289 421 352 270 98 68 430 481 340 253 167 359 56 489 338 389 389 322 43 64 232 328 498 227 154 493 137 288 469 117 377...
output:
10136774
result:
ok 1 number(s): "10136774"
Test #36:
score: 0
Accepted
time: 675ms
memory: 6960kb
input:
481 199 397 260 419 130 152 198 67 481 428 300 440 346 247 57 3 156 47 283 52 348 157 486 317 339 128 191 266 77 292 49 220 260 440 315 289 107 188 55 161 323 371 329 424 178 115 130 478 11 388 170 218 87 493 30 420 431 78 10 163 463 107 377 167 420 187 328 200 23 166 151 13 373 208 216 422 117 200 ...
output:
650157965
result:
ok 1 number(s): "650157965"
Test #37:
score: 0
Accepted
time: 695ms
memory: 6204kb
input:
482 327 346 6 100 192 224 373 351 137 314 240 184 436 476 380 420 378 1 302 100 493 435 495 496 196 40 208 23 94 162 275 94 347 76 423 401 41 263 497 68 320 294 110 379 367 198 249 222 129 47 79 270 168 17 222 462 317 199 365 479 474 212 212 445 143 53 113 120 122 300 200 299 196 220 295 148 277 487...
output:
255690299
result:
ok 1 number(s): "255690299"
Test #38:
score: 0
Accepted
time: 721ms
memory: 6192kb
input:
483 251 190 59 270 445 397 357 43 496 292 179 428 230 421 395 338 293 355 24 45 241 317 300 379 257 56 429 384 10 33 193 364 242 304 236 1 67 338 234 486 421 204 95 37 363 282 61 466 43 13 205 322 465 441 118 493 204 320 221 283 178 33 251 223 379 214 294 243 117 434 45 382 211 424 363 282 437 70 28...
output:
271515425
result:
ok 1 number(s): "271515425"
Test #39:
score: 0
Accepted
time: 711ms
memory: 6996kb
input:
484 379 330 305 248 495 174 236 31 356 474 119 171 117 151 218 447 15 118 42 286 490 299 118 58 318 265 150 41 323 403 419 339 33 441 37 205 500 209 472 189 214 319 183 492 52 261 372 6 161 172 319 374 250 466 310 431 487 441 268 88 381 138 86 205 410 271 79 71 216 260 402 372 226 140 238 213 189 35...
output:
503059663
result:
ok 1 number(s): "503059663"
Test #40:
score: 0
Accepted
time: 673ms
memory: 6944kb
input:
485 99 175 267 225 56 247 15 19 11 361 59 211 219 84 233 364 134 72 60 39 238 76 331 442 175 177 167 298 443 69 145 213 120 373 350 9 434 488 209 300 315 37 168 138 49 345 184 46 87 435 432 321 140 298 410 165 374 458 123 404 96 255 422 278 441 137 364 491 315 98 246 454 241 151 114 347 350 144 38 4...
output:
764056692
result:
ok 1 number(s): "764056692"
Test #41:
score: 0
Accepted
time: 666ms
memory: 6916kb
input:
486 227 223 12 407 310 216 203 7 371 339 202 263 309 121 56 485 60 130 282 279 383 162 340 313 32 89 388 159 255 440 63 484 411 9 162 214 460 359 255 14 107 152 449 297 237 429 292 290 1 297 46 169 129 414 102 400 465 79 478 208 299 372 461 68 164 2 353 114 106 232 295 49 256 163 193 73 202 227 383 ...
output:
47640924
result:
ok 1 number(s): "47640924"
Test #42:
score: 0
Accepted
time: 691ms
memory: 6076kb
input:
487 151 364 66 385 63 289 378 495 26 21 142 302 399 54 379 402 475 84 4 32 131 440 350 196 93 105 301 316 376 310 290 62 11 442 67 314 394 126 196 125 104 74 230 251 426 12 307 330 119 60 160 425 210 439 103 338 56 200 25 12 311 477 296 346 195 59 126 238 205 366 448 335 475 71 260 207 158 13 36 274...
output:
113472363
result:
ok 1 number(s): "113472363"
Test #43:
score: 0
Accepted
time: 705ms
memory: 6184kb
input:
488 75 16 324 258 421 65 361 483 182 408 81 250 194 92 394 319 197 142 226 273 380 217 167 79 142 314 319 73 484 180 16 332 98 78 72 222 123 201 230 236 205 485 23 206 331 300 415 370 33 423 274 169 7 363 499 72 442 321 176 328 14 299 335 124 227 221 115 362 496 500 497 121 298 82 136 137 318 96 189...
output:
137594120
result:
ok 1 number(s): "137594120"
Test #44:
score: 0
Accepted
time: 694ms
memory: 6180kb
input:
489 203 156 69 236 174 34 37 471 349 386 33 289 284 25 217 32 420 97 244 218 320 7 472 258 499 226 40 434 500 50 434 411 389 10 181 322 353 72 467 246 498 99 8 364 19 75 430 114 151 186 195 221 293 387 395 319 33 146 223 133 229 404 170 402 462 86 104 485 95 30 150 408 313 94 215 68 70 487 34 97 397...
output:
298391222
result:
ok 1 number(s): "298391222"
Test #45:
score: 0
Accepted
time: 690ms
memory: 6948kb
input:
490 197 239 425 110 65 72 282 122 167 56 160 57 59 15 240 92 482 140 354 497 395 144 180 265 410 117 438 123 412 340 112 167 68 376 3 439 417 253 364 314 338 53 139 464 480 198 477 267 444 358 74 409 63 322 284 200 59 312 359 156 13 476 331 345 61 299 385 178 8 291 481 203 83 484 221 72 241 315 357 ...
output:
887623098
result:
ok 1 number(s): "887623098"
Test #46:
score: 0
Accepted
time: 695ms
memory: 6908kb
input:
491 122 379 170 279 319 144 457 110 323 238 99 96 353 244 63 9 408 390 77 442 336 218 498 148 267 134 159 380 224 19 42 233 463 308 8 347 443 316 305 220 438 168 216 418 169 486 288 307 166 221 496 461 156 438 192 138 150 433 406 460 216 81 370 122 93 356 158 98 299 333 338 489 98 496 97 206 197 398...
output:
651365392
result:
ok 1 number(s): "651365392"
Test #47:
score: 0
Accepted
time: 670ms
memory: 6000kb
input:
492 250 223 224 257 380 421 144 394 182 420 243 148 443 485 78 426 323 449 299 490 84 495 7 328 328 46 380 36 48 389 268 312 254 445 321 448 376 94 147 139 231 90 201 373 358 69 100 51 284 484 110 217 145 270 384 372 241 54 465 277 227 495 409 104 20 221 147 222 398 467 183 83 113 8 368 432 357 185 ...
output:
970348378
result:
ok 1 number(s): "970348378"
Test #48:
score: 0
Accepted
time: 686ms
memory: 6164kb
input:
493 174 376 470 438 134 390 115 86 338 102 182 188 329 214 401 47 45 199 317 231 37 81 220 403 377 254 397 101 157 259 186 82 341 377 429 356 310 465 385 342 332 1 494 235 354 357 412 91 198 142 224 256 226 387 280 107 128 379 308 81 431 316 244 178 51 383 135 345 189 101 232 166 332 224 243 67 209 ...
output:
805149701
result:
ok 1 number(s): "805149701"
Test #49:
score: 0
Accepted
time: 657ms
memory: 5952kb
input:
494 98 220 431 416 387 463 303 74 197 285 134 135 124 456 416 464 472 461 39 176 285 63 230 82 234 270 119 154 277 425 413 160 336 14 38 252 336 40 326 452 125 115 71 190 43 440 223 27 316 109 337 12 23 219 472 45 219 500 163 385 338 421 283 468 82 440 216 469 288 427 385 156 155 223 119 497 462 159...
output:
277190183
result:
ok 1 number(s): "277190183"
Test #50:
score: 0
Accepted
time: 670ms
memory: 6864kb
input:
495 22 65 485 394 245 240 286 62 57 171 74 175 214 185 239 73 386 223 57 225 226 341 343 465 295 479 340 15 385 92 127 431 231 242 43 364 462 115 64 167 225 334 56 336 232 420 35 67 242 268 155 64 309 335 369 88 105 313 18 201 349 242 414 246 317 305 397 93 387 265 433 238 170 235 186 427 122 446 41...
output:
7825762
result:
ok 1 number(s): "7825762"
Test #51:
score: 0
Accepted
time: 707ms
memory: 6140kb
input:
496 150 205 231 63 499 4 461 50 212 149 309 227 304 426 358 490 312 474 75 373 474 426 352 348 152 95 61 376 210 462 353 9 318 378 152 260 487 486 97 278 222 448 349 494 432 300 450 107 156 235 65 308 402 360 265 26 196 434 361 210 53 347 454 23 40 467 182 216 178 399 278 25 390 451 266 61 78 232 68...
output:
620186888
result:
ok 1 number(s): "620186888"
Test #52:
score: 0
Accepted
time: 679ms
memory: 6884kb
input:
497 74 49 284 245 252 281 445 38 368 332 453 266 407 359 77 407 227 236 1 114 223 204 361 28 213 111 282 429 22 332 79 76 110 311 465 168 421 61 39 388 323 167 130 449 121 383 466 351 274 393 191 64 187 488 457 260 479 259 420 14 268 464 493 301 72 24 467 340 276 33 135 311 201 462 141 492 238 315 4...
output:
961403387
result:
ok 1 number(s): "961403387"
Test #53:
score: 0
Accepted
time: 695ms
memory: 6956kb
input:
498 498 394 234 223 314 58 324 218 227 218 392 10 497 101 196 325 153 486 19 367 367 278 371 103 274 319 3 290 130 203 497 358 5 447 265 269 151 340 276 399 412 281 411 403 118 171 73 391 188 360 304 115 268 308 353 495 366 380 275 126 175 273 328 283 307 389 148 260 67 167 184 201 216 166 16 422 90...
output:
362186337
result:
ok 1 number(s): "362186337"
Test #54:
score: 0
Accepted
time: 745ms
memory: 6352kb
input:
499 422 46 288 404 271 27 103 206 383 196 36 254 87 330 211 446 68 44 241 108 116 68 188 282 131 28 20 343 455 177 427 128 500 379 374 177 381 211 14 10 217 396 396 62 307 254 89 431 306 19 214 359 65 437 249 433 457 1 322 134 186 391 163 357 338 255 433 87 462 197 41 488 39 382 492 352 342 185 423 ...
output:
199497745
result:
ok 1 number(s): "199497745"
Test #55:
score: 0
Accepted
time: 673ms
memory: 6936kb
input:
500 289 21 238 284 123 225 289 119 177 391 336 381 77 104 450 132 478 38 397 144 17 466 244 65 287 402 434 198 140 353 77 391 253 154 248 16 103 296 453 433 334 185 459 404 348 363 414 478 495 454 218 325 466 180 404 119 57 36 17 378 424 374 148 434 141 61 100 239 406 461 76 3 459 481 242 200 50 467...
output:
841936052
result:
ok 1 number(s): "841936052"
Test #56:
score: 0
Accepted
time: 198ms
memory: 6120kb
input:
100 157 244 41 308 202 293 121 394 474 16 232 116 345 413 90 473 146 237 133 393 470 328 43 120 83 69 165 435 52 14 388 257 185 6 376 20 423 125 176 449 440 448 168 451 228 135 427 28 94 186 234 320 381 200 82 53 358 380 395 304 310 428 300 113 183 31 288 329 480 114 25 268 360 118 209 142 218 123 1...
output:
214021872
result:
ok 1 number(s): "214021872"
Test #57:
score: 0
Accepted
time: 215ms
memory: 6188kb
input:
101 130 473 408 309 291 416 401 386 231 206 379 22 2 460 499 360 366 201 358 10 274 322 398 426 302 305 230 60 164 296 82 176 200 392 437 335 67 353 491 246 237 39 268 487 52 419 275 219 142 40 345 266 298 59 159 293 183 104 382 76 435 265 61 222 376 30 162 134 89 13 440 390 324 5 217 349 241 269 45...
output:
320932481
result:
ok 1 number(s): "320932481"
Test #58:
score: 0
Accepted
time: 212ms
memory: 4460kb
input:
102 225 215 74 254 206 173 172 256 384 7 208 148 51 89 496 17 342 199 160 46 128 271 71 435 402 425 43 389 328 228 294 472 265 52 453 461 391 138 198 267 260 11 153 182 407 216 440 162 287 339 112 326 113 146 2 380 422 442 341 486 180 327 178 224 481 62 392 291 45 252 292 136 354 119 100 259 308 207...
output:
196727327
result:
ok 1 number(s): "196727327"
Test #59:
score: 0
Accepted
time: 217ms
memory: 4484kb
input:
103 219 78 60 382 404 73 5 465 46 296 438 346 89 259 71 47 150 115 155 449 297 119 54 452 262 169 331 273 428 336 471 247 157 290 251 30 466 242 180 367 347 418 293 310 311 312 261 320 398 313 489 330 463 164 250 44 324 468 246 263 96 35 388 55 332 356 197 355 412 454 135 407 495 237 375 147 484 494...
output:
130869905
result:
ok 1 number(s): "130869905"
Test #60:
score: 0
Accepted
time: 214ms
memory: 4496kb
input:
104 452 410 460 154 173 28 333 74 495 18 402 284 321 31 478 459 444 457 394 242 92 82 16 297 355 195 236 270 276 486 172 251 141 101 126 127 275 215 146 341 266 238 456 448 99 198 112 392 323 216 338 85 30 98 244 454 409 91 271 228 140 157 247 268 80 48 152 298 262 274 372 222 201 158 438 37 36 62 4...
output:
712109932
result:
ok 1 number(s): "712109932"
Test #61:
score: 0
Accepted
time: 224ms
memory: 4500kb
input:
105 126 78 213 419 107 208 124 56 11 354 260 134 223 265 444 204 171 156 302 49 235 385 131 335 482 92 393 95 367 282 332 264 38 123 7 281 53 175 112 77 237 9 121 236 136 442 217 292 279 479 191 447 5 232 51 153 224 103 39 70 222 225 467 271 164 299 499 340 408 138 194 314 45 322 381 216 425 253 196...
output:
812717428
result:
ok 1 number(s): "812717428"
Test #62:
score: 0
Accepted
time: 223ms
memory: 6156kb
input:
106 162 363 6 316 253 313 246 466 258 391 80 183 94 215 406 53 265 27 55 119 380 408 108 184 290 23 269 397 325 182 444 144 244 382 413 464 83 92 411 273 399 236 414 400 378 120 110 157 453 240 199 395 12 403 435 292 425 68 135 289 330 69 442 111 311 218 497 353 278 235 279 4 72 485 22 57 328 161 40...
output:
663636820
result:
ok 1 number(s): "663636820"
Test #63:
score: 0
Accepted
time: 224ms
memory: 4512kb
input:
107 58 4 13 125 328 494 64 23 489 314 56 408 426 440 325 198 47 317 361 278 154 178 196 74 383 8 84 257 347 495 244 133 402 391 62 291 446 441 365 429 425 31 151 11 230 428 213 38 498 34 170 51 289 54 89 194 337 473 327 272 267 96 173 90 203 243 335 307 280 364 287 103 404 36 231 451 108 271 39 398 ...
output:
771905965
result:
ok 1 number(s): "771905965"
Test #64:
score: 0
Accepted
time: 223ms
memory: 6220kb
input:
108 246 363 215 136 212 63 479 166 111 72 386 455 299 389 71 304 189 151 91 426 131 330 356 462 144 146 424 447 484 369 263 319 452 378 285 457 301 404 278 488 160 29 416 73 490 86 468 139 415 12 295 269 204 255 206 193 373 68 320 18 448 390 276 163 281 78 49 234 401 394 231 326 3 79 406 153 316 113...
output:
532309769
result:
ok 1 number(s): "532309769"
Test #65:
score: 0
Accepted
time: 230ms
memory: 4552kb
input:
109 323 243 69 425 336 406 496 410 444 248 27 454 81 44 447 20 100 177 55 154 133 84 162 374 387 77 15 423 163 206 7 174 112 389 265 446 356 353 370 119 455 420 365 495 131 175 153 134 281 167 493 19 457 114 287 246 47 159 76 289 471 359 61 500 413 409 311 244 319 34 460 298 63 138 223 25 364 383 47...
output:
930337178
result:
ok 1 number(s): "930337178"
Test #66:
score: 0
Accepted
time: 228ms
memory: 6160kb
input:
110 146 221 437 435 452 239 96 341 208 425 365 83 409 126 476 201 319 23 352 382 324 275 393 60 150 204 128 494 238 226 235 419 113 142 305 122 373 159 69 56 412 363 13 445 421 63 387 300 139 463 157 388 407 108 194 186 375 197 7 86 245 213 292 112 322 228 385 104 4 218 61 376 364 123 495 469 473 31...
output:
314572840
result:
ok 1 number(s): "314572840"
Test #67:
score: -100
Time Limit Exceeded
input:
480 92 129 93 422 80 330 435 107 447 234 187 344 249 221 195 282 389 301 469 320 433 253 437 17 203 310 400 498 291 154 274 144 379 37 4 374 352 90 329 495 326 269 333 401 182 89 220 259 119 256 101 77 2 186 30 127 171 153 46 96 241 166 136 69 257 109 306 79 118 402 123 481 42 237 115 158 432 12 194...
output:
292678741