QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#561456#8589. Explosiveskheiramihoub16 1ms3852kbC++141.2kb2024-09-12 22:48:092024-09-12 22:48:10

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 16
Accepted

Test #1:

score: 16
Accepted
time: 0ms
memory: 3552kb

input:

1 1
149
6236

output:

6087
149 6236 

result:

ok all correct

Test #2:

score: 16
Accepted
time: 0ms
memory: 3624kb

input:

4 1
6891 1118 7824 5497
3301 9265 5948 6496

output:

4470
1118 3301 5497 5948 6891 6496 7824 9265 

result:

ok all correct

Test #3:

score: 16
Accepted
time: 0ms
memory: 3536kb

input:

10 1
9195 4857 1822 3821 9420 7567 9649 732 2288 5733
6451 377 1599 193 2756 4428 602 5216 6428 7098

output:

19936
732 193 1822 377 2288 602 3821 1599 4857 2756 5733 4428 7567 5216 9195 6428 9420 6451 9649 7098 

result:

ok all correct

Test #4:

score: 16
Accepted
time: 0ms
memory: 3828kb

input:

100 1
9894 8316 9509 4832 8988 3214 5279 5961 2648 26 2051 9612 369 2367 7232 2363 9778 4079 709 3018 8956 3003 7023 2212 2233 4042 5834 3707 3307 1663 3885 9988 8414 9766 7068 629 9453 5056 254 2275 9956 8701 7882 724 3084 3553 5799 682 2960 8901 6083 8727 8848 1024 6951 104 1047 7196 6627 3858 565...

output:

55510
26 140 104 167 161 407 254 556 369 600 479 660 629 729 682 868 709 904 724 988 825 1345 829 1421 1024 1440 1047 1491 1199 1510 1291 1571 1392 1595 1663 1612 2051 1834 2212 2012 2233 2023 2275 2111 2325 2131 2363 2173 2367 2181 2381 2349 2447 2461 2587 2469 2648 2543 2654 2755 2693 2770 2880 27...

result:

ok all correct

Test #5:

score: 16
Accepted
time: 0ms
memory: 3828kb

input:

200 1
6443 1807 8990 4427 7288 5970 2306 10000 2181 6150 7214 1045 462 1685 2517 9194 2930 4749 7658 6349 1875 8240 8155 3192 1437 5174 6782 7719 2027 6581 4814 633 6755 4583 9706 3573 7352 7141 2770 2459 6867 2959 7063 7120 4022 4340 8718 9614 6457 7094 3448 8834 3778 6190 3567 5917 9987 6601 1422 ...

output:

72442
36 32 190 74 427 119 462 147 500 160 532 174 633 257 846 313 958 455 997 518 1002 614 1045 752 1090 789 1222 822 1286 932 1352 988 1374 1014 1422 1021 1437 1154 1500 1218 1555 1265 1566 1280 1586 1331 1595 1481 1685 1503 1722 1526 1726 1607 1752 1676 1756 1703 1807 1715 1839 1762 1873 1763 187...

result:

ok all correct

Test #6:

score: 16
Accepted
time: 1ms
memory: 3852kb

input:

500 1
509 5651 2410 5293 3800 7965 2413 8332 9066 8125 6083 8777 7168 4192 7287 8787 1240 5690 4270 1779 204 3818 5499 9440 1511 8189 8985 7394 983 8272 1006 1575 755 5861 2137 5121 9753 5646 8703 4583 3573 1071 7205 7495 7722 6996 4435 544 1984 2894 9469 4749 8905 9525 292 3615 9378 2328 4626 6237 ...

output:

52688
60 67 63 92 64 154 101 160 121 161 162 176 181 185 204 230 219 241 229 247 232 267 244 288 292 304 323 308 330 343 341 349 355 418 400 447 417 471 426 479 488 496 509 500 544 550 596 552 643 559 685 581 707 594 710 624 717 640 750 657 755 660 782 684 814 696 823 720 850 798 851 802 856 808 857...

result:

ok all correct

Test #7:

score: 16
Accepted
time: 1ms
memory: 3848kb

input:

1000 1
3510 8336 3709 1341 8111 4257 2507 8695 9869 5992 7910 6909 6492 4544 948 8506 2419 4615 9962 1922 4272 5811 855 321 6572 9326 9611 452 5433 7298 3029 3398 3221 5791 4268 9809 5366 3989 7468 9090 2660 2762 2874 4836 4964 8276 4419 4396 4116 4701 7014 3416 8618 5287 9737 4879 8091 5326 9085 74...

output:

200799
2 3 15 14 31 18 40 63 42 69 52 70 54 76 56 84 100 85 131 94 133 99 134 102 146 108 172 116 178 128 181 130 184 135 187 145 192 160 195 205 203 210 225 233 258 246 312 248 320 263 321 265 364 274 374 276 377 278 385 280 391 292 405 307 412 331 452 345 456 346 482 354 525 368 534 372 556 403 58...

result:

ok all correct

Subtask #2:

score: 0
Wrong Answer

Test #8:

score: 22
Accepted
time: 0ms
memory: 3532kb

input:

4 5
4701 3171 4420 3458
9318 8156 6845 5547

output:

6147
3171 3458 4420 4701 5547 6845 8156 9318 

result:

ok all correct

Test #9:

score: 0
Wrong Answer
time: 0ms
memory: 3544kb

input:

100 23
4048 2039 4962 4224 3397 1371 2736 757 81 1402 3734 1291 1408 2847 2989 4573 3117 3025 3152 1077 2023 4723 1568 1353 1374 124 2689 2609 1618 4641 1099 4363 509 3174 2257 3584 2348 4113 229 1060 3585 4519 4130 2529 4012 1445 3673 2436 1253 2040 1837 2719 76 1901 199 1606 2314 3346 610 1226 433...

output:

29206
76 81 124 199 229 267 280 423 479 509 610 757 840 1060 1077 1099 1226 1253 1291 1353 1371 1374 1402 5066 5091 5210 5213 5257 5395 5449 5485 5566 5619 5649 5654 5689 5717 5773 5817 5855 5875 5975 5992 6054 6146 6188 1408 1445 1568 1588 1606 1618 1718 1758 1837 1843 1901 1975 2023 2039 2040 2181...

result:

wrong answer contestant cost too high 29206 26361

Subtask #3:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%