QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#878221 | #8589. Explosives | GuanYunchang | 50 | 1ms | 3712kb | C++20 | 9.3kb | 2025-02-01 14:13:22 | 2025-02-01 14:13:22 |
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: 8
Acceptable Answer
Test #1:
score: 8
Acceptable Answer
time: 1ms
memory: 3584kb
input:
1 1 149 6236
output:
6087
result:
points 0.50
Test #2:
score: 8
Acceptable Answer
time: 0ms
memory: 3584kb
input:
4 1 6891 1118 7824 5497 3301 9265 5948 6496
output:
4470
result:
points 0.50
Test #3:
score: 8
Acceptable Answer
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
result:
points 0.50
Test #4:
score: 8
Acceptable Answer
time: 1ms
memory: 3584kb
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
result:
points 0.50
Test #5:
score: 8
Acceptable Answer
time: 0ms
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
result:
points 0.50
Test #6:
score: 8
Acceptable Answer
time: 1ms
memory: 3584kb
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
result:
points 0.50
Test #7:
score: 8
Acceptable Answer
time: 1ms
memory: 3712kb
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
result:
points 0.50
Subtask #2:
score: 11
Acceptable Answer
Test #8:
score: 11
Acceptable Answer
time: 0ms
memory: 3584kb
input:
4 5 4701 3171 4420 3458 9318 8156 6845 5547
output:
6147
result:
points 0.50
Test #9:
score: 11
Acceptable Answer
time: 1ms
memory: 3584kb
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
result:
points 0.50
Test #10:
score: 11
Acceptable Answer
time: 1ms
memory: 3712kb
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
result:
points 0.50
Test #11:
score: 11
Acceptable Answer
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
result:
points 0.50
Test #12:
score: 11
Acceptable Answer
time: 0ms
memory: 3712kb
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
result:
points 0.50
Test #13:
score: 11
Acceptable Answer
time: 0ms
memory: 3712kb
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
result:
points 0.50
Subtask #3:
score: 31
Acceptable Answer
Dependency #1:
50%
Acceptable Answer
Dependency #2:
50%
Acceptable Answer
Test #14:
score: 31
Acceptable Answer
time: 0ms
memory: 3584kb
input:
4 5 3458 3156 5547 9318 8171 4420 9701 6845
output:
5398
result:
points 0.50
Test #15:
score: 31
Acceptable Answer
time: 1ms
memory: 3584kb
input:
100 23 7735 81 8868 6568 8025 7784 7736 395 2221 210 9333 7718 5689 199 6670 423 7719 1402 4130 1684 5717 9269 8521 5091 9694 9557 8558 6408 8956 3655 5449 9113 8990 1874 7627 1466 9815 267 4995 7808 7382 5992 840 3117 1993 975 3152 8174 7257 6703 4128 8208 9880 4641 2445 4737 2348 7847 2752 8116 28...
output:
8810
result:
points 0.50
Test #16:
score: 31
Acceptable Answer
time: 1ms
memory: 3712kb
input:
1000 2 2490 8400 5290 4308 5999 6184 6881 8319 2091 9728 4635 2045 2053 5620 3548 6997 9429 4289 6390 3346 4556 1347 2731 2501 6355 5750 3089 657 5167 9091 3456 3919 3394 3143 576 8431 8956 6100 6300 3344 8854 5392 7855 3523 5760 6308 2408 9856 8740 3665 1449 3449 1991 7886 8423 7277 2987 2752 3178 ...
output:
65051
result:
points 0.50
Test #17:
score: 31
Acceptable Answer
time: 1ms
memory: 3456kb
input:
1000 10 3720 5099 9750 1728 6972 5924 5173 2966 3739 8176 9846 3902 6788 5191 9709 3410 7749 4152 6742 6242 8972 4493 5452 413 8100 2504 993 8055 6597 6839 4306 1840 8649 5986 8082 4875 6809 516 7067 4350 8811 56 5383 5570 1916 2483 6795 6194 5829 9351 1779 3767 6820 1023 7385 3274 2814 9648 1177 60...
output:
20481
result:
points 0.50
Test #18:
score: 31
Acceptable Answer
time: 0ms
memory: 3712kb
input:
1000 100 3700 6890 3418 7022 3189 9873 3442 7224 8948 6263 3842 7315 3209 3264 3350 3174 7846 7459 1791 8872 728 9959 4236 2559 2212 9270 5603 4501 8329 153 4706 1215 1473 4510 8108 4136 9132 9764 9218 9819 9168 6229 5180 1876 403 870 2768 8986 8078 5461 8464 5852 7593 9041 6339 4185 1504 4395 4686 ...
output:
9538
result:
points 0.50
Test #19:
score: 31
Acceptable Answer
time: 0ms
memory: 3712kb
input:
1000 1000 5847 6248 866 8123 2843 4660 8910 6064 9583 5156 6306 6199 1338 4910 5126 8249 7987 2289 7771 3687 4537 3019 7802 1022 8118 1172 4931 5033 153 3899 7481 7067 3199 8381 5937 1747 9912 2980 3539 1237 9498 3815 7238 9257 528 5455 590 7924 1457 1699 7688 9737 1209 5693 9436 7846 4785 1382 8781...
output:
9416
result:
points 0.50