QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#878508 | #8589. Explosives | ZhangYiDe | 38 | 1ms | 3840kb | C++23 | 13.1kb | 2025-02-01 15:44:11 | 2025-02-01 15:44:17 |
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
Subtask #1:
score: 16
Accepted
Test #1:
score: 16
Accepted
time: 0ms
memory: 3584kb
input:
1 1 149 6236
output:
6087 149 6236
result:
ok all correct
Test #2:
score: 16
Accepted
time: 1ms
memory: 3712kb
input:
4 1 6891 1118 7824 5497 3301 9265 5948 6496
output:
4470 7824 9265 6891 6496 5497 5948 1118 3301
result:
ok all correct
Test #3:
score: 16
Accepted
time: 0ms
memory: 3584kb
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 9649 7098 9420 6451 9195 6428 7567 5216 5733 4428 4857 2756 3821 1599 2288 602 1822 377 732 193
result:
ok all correct
Test #4:
score: 16
Accepted
time: 1ms
memory: 3712kb
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 9988 9951 9956 9835 9894 9627 9868 9426 9810 9406 9778 9272 9766 9244 9612 9118 9525 9052 9509 8977 9453 8838 9396 8818 8997 8803 8988 8754 8972 8587 8956 8531 8901 8525 8848 8302 8727 8017 8720 7992 8701 7925 8505 7890 8414 7838 8316 7799 8258 6917 8134 6802 7920 6674 7882 6601 7854 6585 7699...
result:
ok all correct
Test #5:
score: 16
Accepted
time: 1ms
memory: 3584kb
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 10000 9837 9987 9796 9935 9782 9706 9722 9689 9640 9652 9602 9614 9585 9611 9569 9590 9472 9589 9273 9314 9254 9204 9246 9194 9195 9193 9150 9184 9148 9173 8987 9151 8911 9064 8910 8990 8901 8984 8886 8923 8851 8857 8823 8834 8768 8750 8739 8718 8607 8717 8514 8693 8488 8656 8479 8635 8463 848...
result:
ok all correct
Test #6:
score: 16
Accepted
time: 0ms
memory: 3840kb
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 9995 9990 9994 9985 9968 9972 9933 9901 9918 9895 9886 9876 9786 9830 9762 9813 9753 9784 9694 9734 9687 9725 9670 9693 9658 9680 9638 9677 9615 9675 9580 9643 9578 9628 9564 9609 9563 9545 9553 9533 9531 9455 9527 9441 9526 9435 9525 9420 9514 9405 9487 9389 9476 9374 9469 9360 9440 9347 9439...
result:
ok all correct
Test #7:
score: 16
Accepted
time: 1ms
memory: 3840kb
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 10000 9997 9974 9987 9970 9969 9968 9964 9962 9960 9959 9954 9956 9947 9952 9937 9928 9936 9918 9916 9913 9894 9897 9877 9895 9865 9893 9860 9892 9859 9882 9857 9874 9851 9869 9836 9839 9835 9834 9824 9833 9821 9822 9817 9812 9802 9809 9790 9805 9772 9795 9759 9791 9757 9773 9754 9756 9740 97...
result:
ok all correct
Subtask #2:
score: 22
Accepted
Test #8:
score: 22
Accepted
time: 0ms
memory: 3712kb
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: 22
Accepted
time: 0ms
memory: 3712kb
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:
26361 76 81 124 199 229 267 280 423 479 509 610 757 840 1060 1077 1099 1226 1253 1291 1353 1371 1374 1402 8990 9005 9040 9101 9106 9128 9138 9172 9209 9242 9247 9258 9521 9547 9669 9694 9737 9815 9821 9834 9864 9896 9995 1408 1445 1568 1588 1606 1618 1718 1758 1837 1843 1901 1975 2023 2039 2040 2181...
result:
ok all correct
Test #10:
score: 22
Accepted
time: 1ms
memory: 3840kb
input:
1000 2 1637 2324 4069 4612 4998 2243 2664 1037 4680 3449 72 681 2810 3554 3265 643 3728 2761 3184 1323 3333 2081 4728 4363 1771 3000 3649 1749 3580 2855 1988 418 4525 3859 1400 2580 3790 2863 728 3605 3531 2096 2451 3782 6 4223 1243 4497 682 27 4094 4824 1361 1716 2328 2132 2248 2575 286 3838 1387 3...
output:
2492982 4 6 9987 9994 15 27 9982 9986 31 38 9976 9980 41 46 9970 9974 60 62 9961 9963 68 72 9957 9959 89 99 9941 9953 105 106 9931 9938 110 113 9911 9917 118 120 9891 9901 122 126 9886 9888 127 128 9873 9883 135 158 9847 9855 161 165 9841 9845 167 173 9832 9834 180 191 9823 9824 203 212 9802 9811 21...
result:
ok all correct
Test #11:
score: 22
Accepted
time: 1ms
memory: 3712kb
input:
1000 10 140 3713 561 1101 1223 4264 4819 3605 1907 427 1189 3954 4661 298 1439 2485 3406 231 2381 84 1077 2209 1470 4022 2 1034 191 3144 3660 986 1039 3467 3276 1545 984 3699 2248 884 121 2505 665 990 859 3965 3307 4901 1991 4045 3767 3412 819 248 3181 4933 1208 959 1728 761 26 471 4230 4217 2330 66...
output:
502316 2 5 8 12 18 24 26 41 49 55 9957 9972 9974 9976 9978 9979 9985 9991 9993 9998 56 66 70 73 79 80 84 93 94 97 9914 9918 9922 9923 9927 9936 9938 9940 9943 9953 99 103 110 115 119 121 123 140 141 155 9871 9874 9875 9880 9884 9886 9895 9910 9912 9913 156 157 159 160 170 173 184 187 190 191 9819 98...
result:
ok all correct
Test #12:
score: 22
Accepted
time: 1ms
memory: 3840kb
input:
1000 100 3343 1745 2296 3856 3507 192 2780 2459 2009 3193 4753 1028 334 871 589 1105 4612 3751 3708 2129 4032 2628 3974 4641 4323 596 604 4759 1906 1272 4606 2898 726 1304 1279 1448 2589 4565 735 4053 2935 4966 1424 3363 4153 4900 1722 4597 1501 2125 3512 1282 1744 4460 2529 1488 2067 895 4407 3863 ...
output:
55809 1 3 10 14 15 20 25 32 33 40 44 46 53 60 62 72 78 87 88 101 106 108 109 114 121 123 133 135 159 160 172 175 180 183 184 189 190 192 194 197 205 220 221 225 226 231 235 237 241 242 246 252 254 256 262 265 270 279 280 285 288 303 304 308 310 311 317 321 324 330 333 334 341 347 351 360 368 369 371...
result:
ok all correct
Test #13:
score: 22
Accepted
time: 0ms
memory: 3840kb
input:
1000 1000 2089 2983 4751 2038 1201 2034 2039 3841 873 2453 65 674 1216 3560 2644 3914 2345 3670 2518 3622 1938 4583 719 2137 1078 1359 1860 1448 4907 3741 629 1236 4549 4893 1999 844 4345 63 66 3320 2723 1990 1467 3215 2024 2665 756 1682 604 1853 3160 3262 2030 4153 3031 3278 631 2232 2360 1495 519 ...
output:
9984 16 21 22 24 28 33 36 42 45 53 54 59 62 63 65 66 71 73 80 82 86 88 91 95 98 100 101 108 125 126 130 132 133 138 145 147 151 153 154 155 163 169 170 180 182 187 188 193 207 223 228 229 232 233 238 266 270 277 278 288 291 292 294 306 316 331 347 348 351 354 355 357 364 368 375 377 390 395 412 422 ...
result:
ok all correct
Subtask #3:
score: 0
Wrong Answer
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Test #14:
score: 0
Wrong Answer
time: 0ms
memory: 3712kb
input:
4 5 3458 3156 5547 9318 8171 4420 9701 6845
output:
3156 3458 5547 9318 4420 6845 8171 9701
result:
wrong answer no candy to unload on operation 6