QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#327097 | #6715. Масив i ще кiлька масивiв | ZhaoZiLong | 17 | 1ms | 3848kb | C++20 | 1.9kb | 2024-02-14 18:50:17 | 2024-02-14 18:50:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 8
Accepted
Test #1:
score: 8
Accepted
time: 1ms
memory: 3608kb
input:
1386 1 1386 469 323 431 584 1155 1198 288 253 696 1317 905 1037 1173 1267 116 736 810 417 332 802 293 171 489 1271 60 359 1360 591 572 243 224 705 1167 843 258 514 673 437 710 553 869 1119 1169 1326 771 1101 821 232 934 871 735 1113 902 1257 410 1077 45 685 769 560 1263 957 586 1126 429 975 1314 136...
output:
Yes 0
result:
ok OK
Test #2:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
566 1 566 421 157 195 92 361 217 115 270 411 465 87 16 356 540 538 173 359 481 207 93 228 131 268 482 109 461 317 307 299 9 174 418 342 262 551 25 407 147 201 374 187 57 466 100 165 515 105 456 408 89 487 488 504 471 280 265 15 211 524 332 446 28 253 197 202 309 156 151 322 395 326 503 110 489 337 4...
output:
Yes 0
result:
ok OK
Test #3:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
5733 1 5733 3725 4275 1236 3517 3169 1915 437 4735 2910 4575 1084 780 4009 5338 3469 5079 4880 4685 4531 4595 664 4091 1590 5229 2300 3516 5275 1773 5090 4392 5448 2796 1898 2461 1615 1490 1634 4351 322 4016 5234 3515 2237 1416 4481 1772 2815 1061 4992 110 903 4420 1559 5081 345 1776 4428 2425 4969 ...
output:
No
result:
ok OK
Test #4:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
1433 1 1433 882 1025 860 1411 119 377 248 613 597 560 778 124 1354 972 476 301 1103 1117 189 863 502 1368 337 730 375 1188 404 1044 81 779 630 863 670 331 352 1176 502 1279 369 1176 888 375 550 52 665 369 761 255 150 870 58 78 414 76 1264 116 572 911 564 291 44 213 219 1144 442 330 208 217 968 63 65...
output:
No
result:
ok OK
Test #5:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
4181 1 4181 2019 4130 3534 207 530 2691 2058 3621 3415 583 1 3214 3061 1444 945 1562 3736 3890 3680 3791 3066 1497 334 1977 4003 3784 3879 2522 1278 62 2362 2885 2372 2883 2467 2900 2957 2321 635 3564 3479 1034 300 743 2295 1050 18 1433 2561 2711 3743 541 3996 3303 2420 3184 4016 3855 1827 272 547 3...
output:
No
result:
ok OK
Test #6:
score: 0
Accepted
time: 1ms
memory: 3636kb
input:
9640 1 9640 2094 8871 6582 3278 4454 3547 914 8933 3181 4990 1440 2705 4827 5073 868 3901 1048 2129 8450 9493 3941 7970 9282 4904 9500 4221 66 7915 4884 5282 6503 3576 4434 828 290 5906 3368 6028 1337 4474 5827 4606 1970 3433 3960 6211 3777 2892 2522 4340 2216 7588 2368 4987 7650 8761 756 8467 2409 ...
output:
No
result:
ok OK
Test #7:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
9971 1 9971 1802 3187 6312 4411 936 8563 1625 7320 6609 9143 3919 1740 5934 2671 1828 7474 5943 6620 8342 4546 6543 647 7520 3746 3777 3844 6852 1344 8877 6242 2641 7947 7263 865 9572 7769 124 8989 1715 4136 5883 6829 5597 3177 8748 9686 1764 1543 401 2697 8775 9679 3873 1580 1473 3437 822 2955 2152...
output:
Yes 0
result:
ok OK
Test #8:
score: 0
Accepted
time: 1ms
memory: 3716kb
input:
9968 1 9968 8674 5985 6289 659 9858 4210 2242 7170 2352 9017 322 6131 5040 2568 6219 7214 5457 6875 1228 3508 282 7583 4887 3425 4462 7361 4006 4541 4929 1382 1254 3263 8610 1210 6057 4195 608 1506 5340 215 7435 2567 7615 319 6797 3109 6196 2886 8777 2395 7647 6655 1800 4390 5077 4156 2774 8393 4075...
output:
Yes 0
result:
ok OK
Test #9:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
9967 1 9967 2628 2873 4697 2199 4101 8183 2277 3566 6923 9357 4573 4036 547 4268 4388 1786 1247 8886 5027 3671 8393 4570 3338 4054 5345 1923 6187 6709 1069 8055 2201 710 4282 4893 7661 7133 4351 2333 250 6832 8564 3430 4660 4005 1298 7225 3003 1227 2784 1532 1738 4970 8504 5482 7167 5239 8209 8079 4...
output:
Yes 0
result:
ok OK
Test #10:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
9990 1 9990 9510 1644 1283 9283 4520 8213 250 9481 3028 1606 1936 1560 3766 8877 5149 6604 8052 735 1309 4098 2488 2760 2602 1279 1624 1144 5954 5470 6158 2364 6174 7011 6424 9921 1873 4390 3512 2385 4693 9732 6006 5602 4601 8265 8756 9901 7772 1859 7533 3369 2545 7667 554 1377 7028 6821 437 8279 33...
output:
Yes 0
result:
ok OK
Test #11:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
9988 1 9988 6464 6 5191 72 3815 9297 4651 7801 9658 3028 3765 7067 8690 6044 1040 7688 8943 5928 1094 2590 8906 6285 7738 2451 1507 5252 6549 4544 9709 6378 828 9244 8329 153 6573 7728 5760 7813 6470 4481 2654 4786 9115 100 1098 9021 7992 1001 1682 1424 1147 226 8545 823 4334 645 4717 8390 1488 9738...
output:
Yes 0
result:
ok OK
Test #12:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
4382 1 4382 59 4027 490 2935 3990 1526 4013 566 3087 1635 835 1583 928 3090 1513 54 2792 1080 561 2196 964 3740 1279 2031 186 4232 1491 1114 1333 3530 4325 4146 4380 2154 1405 1579 2015 859 3672 2209 84 2243 2348 3616 4357 2962 392 902 3469 1314 1179 443 4328 2446 4163 3542 463 1149 4099 2268 1952 1...
output:
Yes 0
result:
ok OK
Test #13:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
9981 1 9981 827 8078 6905 577 955 5573 9401 2519 8127 9082 5003 7144 9541 3974 723 518 2220 3867 9025 3637 9439 9922 130 8045 9873 227 4666 575 2584 2392 2116 6689 9905 1237 9259 3691 9388 249 6330 814 4199 4644 9512 5772 9731 8726 8202 7470 467 2212 439 372 8427 8979 7499 4319 5968 6755 4307 8830 6...
output:
Yes 0
result:
ok OK
Test #14:
score: 0
Accepted
time: 1ms
memory: 3572kb
input:
9976 1 9976 306 1569 9384 8894 4620 4641 5283 4284 3550 4434 7624 5995 6360 7929 316 9337 7367 1421 3564 7486 6663 5525 8860 5369 6962 756 7598 3001 8255 5531 9204 9191 802 5640 8169 6361 2748 9288 5140 1321 6472 7054 289 5176 6389 7154 4571 8928 9417 9383 7868 6166 9723 3728 3825 1830 5027 531 2034...
output:
Yes 0
result:
ok OK
Test #15:
score: 0
Accepted
time: 1ms
memory: 3568kb
input:
9996 1 9996 7818 7181 7408 8396 1545 1975 2517 3135 8326 7020 6373 5783 8096 3868 3538 3872 469 1047 8439 2793 8429 6100 3252 4194 2190 8065 9489 8834 8825 3835 9247 749 2284 7736 1593 8828 4052 1350 1883 6977 7779 9637 3673 9855 1432 767 5419 9421 385 2707 1265 3577 4944 8468 740 2775 7170 7267 639...
output:
Yes 0
result:
ok OK
Test #16:
score: 0
Accepted
time: 1ms
memory: 3764kb
input:
9995 1 9995 7384 3730 5704 3450 5761 1878 4548 7992 1104 9390 4451 662 9747 6987 6279 233 2045 4066 8471 6558 3653 3640 6175 6278 885 385 229 7511 289 6380 149 108 6968 4568 1868 6088 5190 810 5316 184 9432 8692 3123 1041 4579 2028 8855 4456 5558 2307 5477 2868 1251 3957 3985 5640 2086 6023 53 6992 ...
output:
Yes 0
result:
ok OK
Test #17:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
9971 1 9971 2581 3803 5358 8716 7656 2210 966 3623 47 5528 7382 573 3405 7412 4754 5642 5298 1459 9110 822 9779 7871 5856 9494 3484 910 5806 7869 9606 7761 8702 9468 1989 8990 5970 9011 1278 2448 8376 1097 6944 8817 5506 1353 4226 5225 5401 6216 1280 6088 6464 6811 6135 7207 6260 1827 5625 9275 4242...
output:
Yes 0
result:
ok OK
Test #18:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
9964 1 9964 7392 4113 4433 2598 5055 8457 8110 5715 5264 4395 8230 3323 7964 9520 8086 4922 2958 788 297 3543 6398 2927 138 3501 1605 3189 4534 8641 281 2905 3058 2579 3746 5655 4702 4462 6006 5876 8005 4521 7239 4145 1416 7470 5813 8753 1781 9223 8045 9309 26 2527 2545 6603 8982 9043 1142 5703 9153...
output:
No
result:
ok OK
Test #19:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
9969 1 9969 2937 6113 1129 3018 6460 4369 9757 2134 8334 2157 6631 7138 7128 7100 465 1857 9057 7005 4759 9786 6140 9328 7829 5367 6669 1229 1263 1748 100 6268 6173 3740 8130 4894 3833 2703 7768 1791 4052 4682 8918 5876 4931 3411 9056 8885 7388 2562 4752 630 8678 4596 3321 6243 4015 5804 4621 8014 9...
output:
No
result:
ok OK
Test #20:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
9978 1 9978 9652 838 2357 974 9597 7530 4290 6410 6832 3835 4339 5288 6513 7049 9015 8347 9272 5172 5180 4492 8280 5580 5728 5021 3887 5689 8 110 9963 7738 2025 9056 1436 4780 2220 4240 5268 9716 8398 68 5430 5276 5929 5823 6236 2872 8082 4369 3427 4627 6701 4215 7990 5895 2375 1757 2005 6216 1341 9...
output:
No
result:
ok OK
Test #21:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
9991 1 9991 7085 6706 5161 6220 7699 2896 3566 8011 5420 4475 9975 2248 5860 905 3744 9069 3879 5451 2166 6827 1632 6034 8972 4055 2816 5946 6784 4677 2531 5876 3068 6366 5708 6097 1449 4556 7457 8998 2429 6579 3608 3433 9113 4053 3786 3895 753 4574 4944 7354 9017 1492 6911 8723 5244 9491 5178 7356 ...
output:
No
result:
ok OK
Test #22:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
2548 1 2548 1911 136 638 897 1966 1953 556 647 1486 1320 83 1345 1858 737 2323 1717 1646 1997 2029 167 2070 1703 588 156 1128 275 1452 587 651 1395 808 1634 2114 1216 591 360 1249 1184 1674 1478 2326 443 1099 1854 218 1769 2474 1354 1799 1645 2201 153 2184 2521 1544 2126 2125 2002 1176 1076 246 1434...
output:
Yes 0
result:
ok OK
Test #23:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
9965 1 9965 3822 3759 1798 6765 6519 1797 3279 4048 6056 3155 7349 7827 6425 1321 8990 2328 2911 598 3050 4371 35 4259 4061 9405 1384 3063 4750 9302 4564 1523 5316 6131 8459 1407 6946 675 9169 1370 2657 8287 6794 6970 3856 3900 1514 7346 4122 2913 8320 2973 373 5038 2925 3595 4684 8349 6646 62 6625 ...
output:
Yes 0
result:
ok OK
Test #24:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
8454 1 8454 5159 500 4872 6939 1281 1474 337 775 5639 4406 3941 523 1860 3650 4805 6353 3860 425 7470 6041 7559 4129 8010 2852 8386 202 7121 5450 7332 3067 1851 5361 863 6612 7600 2679 4026 194 5630 4513 2184 4596 1586 4957 2581 1939 1169 845 1043 1242 6786 1075 7996 7393 2717 464 1366 2202 4237 386...
output:
Yes 0
result:
ok OK
Test #25:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
3523 1 3523 1302 689 1681 2526 1724 2355 2722 3405 775 1669 959 974 1805 1481 3255 2842 1803 2178 670 3464 246 832 1919 989 2070 2899 5 1950 2514 665 2563 2830 844 1530 2023 2059 113 2578 2123 160 1544 489 1569 267 2350 2639 2595 3014 1174 282 2870 709 3159 1628 2359 351 1058 1503 706 1000 3171 702 ...
output:
Yes 0
result:
ok OK
Test #26:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
3058 1 3058 2446 1542 2645 1591 1354 1822 39 223 1422 2671 2660 458 148 2734 2226 2968 1172 848 2582 3052 1814 199 2236 1424 173 2266 668 631 2834 1483 2431 2871 2075 2477 2170 1178 2724 2345 283 1287 1415 1583 1016 913 2353 1096 1013 1984 60 2125 1062 886 202 1879 1680 2367 2403 612 270 1327 1621 9...
output:
Yes 0
result:
ok OK
Test #27:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
9862 1 9862 2348 6017 109 2893 6892 2440 4368 1809 845 6530 869 255 5665 9774 7160 5475 4981 6499 7892 9493 8801 1918 2580 3092 6662 9732 2897 2587 2847 5826 363 942 4307 5423 9792 7767 1678 1132 4481 6779 1647 5914 9609 7778 2774 5217 4792 2944 6300 1041 5522 9782 3883 6278 1037 5591 9048 324 7096 ...
output:
Yes 0
result:
ok OK
Test #28:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
3369 1 3369 692 805 1466 660 2959 2945 1644 2823 1194 2136 1669 2172 108 1823 3265 2930 1233 1673 2564 591 1802 1086 2603 570 2309 382 466 3208 1474 1524 619 2926 2251 3238 1512 2420 1368 2616 1866 389 637 1035 192 817 298 3081 1641 284 1717 597 904 2779 2632 2539 1370 300 1467 1043 2532 81 727 2810...
output:
Yes 0
result:
ok OK
Subtask #2:
score: 9
Accepted
Test #29:
score: 9
Accepted
time: 0ms
memory: 3548kb
input:
3049 4 733 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960...
output:
Yes -1902 146 155 840
result:
ok OK
Test #30:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
8495 1 8495 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ...
output:
Yes 0
result:
ok OK
Test #31:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
1239 2 1006 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 ...
output:
Yes -190 185
result:
ok OK
Test #32:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
1735 2 1000 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 ...
output:
Yes -480 336
result:
ok OK
Test #33:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
4397 2 475 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553...
output:
Yes -2495 419
result:
ok OK
Test #34:
score: 0
Accepted
time: 0ms
memory: 3512kb
input:
7348 2 6008 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 ...
output:
Yes -846 332
result:
ok OK
Test #35:
score: 0
Accepted
time: 1ms
memory: 3568kb
input:
9979 4 310 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451...
output:
Yes -7393 -866 -1442 548
result:
ok OK
Test #36:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
9980 3 547 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396...
output:
Yes -6338 -561 2783
result:
ok OK
Test #37:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
9990 5 5188 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 ...
output:
Yes -650 2131 1927 8338 9538
result:
ok OK
Test #38:
score: 0
Accepted
time: 1ms
memory: 3500kb
input:
9976 3 6145 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 206...
output:
Yes -2004 968 5646
result:
ok OK
Test #39:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
9974 5 1725 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 266...
output:
Yes -2609 1539 -2587 2399 3757
result:
ok OK
Test #40:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
1903 1 1903 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ...
output:
Yes 0
result:
ok OK
Test #41:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
9969 4 3417 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 173...
output:
Yes -1675 -3558 1012 1734
result:
ok OK
Test #42:
score: 0
Accepted
time: 1ms
memory: 3772kb
input:
9965 5 1056 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 370...
output:
Yes -3646 870 -109 3649 6660
result:
ok OK
Test #43:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
9971 3 2378 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 584...
output:
Yes -5789 -2841 2287
result:
ok OK
Test #44:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
9971 5 1372 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 814...
output:
Yes -8087 -3881 270 4160 3571
result:
ok OK
Test #45:
score: 0
Accepted
time: 1ms
memory: 3848kb
input:
9998 1 9998 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ...
output:
Yes 0
result:
ok OK
Test #46:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
9993 3 8914 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 ...
output:
Yes -518 -158 7574
result:
ok OK
Test #47:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
9990 2 3032 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 401...
output:
Yes -3959 1737
result:
ok OK
Test #48:
score: 0
Accepted
time: 1ms
memory: 3636kb
input:
9967 1 9967 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ...
output:
Yes 0
result:
ok OK
Test #49:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
9965 3 8323 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 153...
output:
Yes -1472 3292 4047
result:
ok OK
Test #50:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
2276 3 123 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 8...
output:
Yes -789 -161 1500
result:
ok OK
Test #51:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
447 4 33 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 193 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226...
output:
Yes -350 -154 -163 168
result:
ok OK
Test #52:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
6541 2 4691 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 141...
output:
Yes -1359 2244
result:
ok OK
Test #53:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
9548 2 3931 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 145...
output:
Yes -1400 599
result:
ok OK
Test #54:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
8829 1 8829 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ...
output:
Yes 0
result:
ok OK
Test #55:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
5071 5 1427 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 10...
output:
Yes -5 -1190 -141 -1333 95
result:
ok OK
Test #56:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
856 5 71 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 112 698...
output:
Yes -394 -626 -486 -267 33
result:
ok OK
Subtask #3:
score: 0
Wrong Answer
Dependency #1:
100%
Accepted
Test #57:
score: 15
Accepted
time: 0ms
memory: 3528kb
input:
346 1 346 238 60 244 117 44 326 150 230 38 80 168 322 179 160 12 159 310 207 137 307 94 101 36 336 15 122 186 27 109 11 81 271 7 229 141 332 133 321 84 166 334 284 183 241 239 93 52 277 273 140 57 58 298 16 328 217 107 113 346 218 10 265 90 270 76 142 31 20 324 202 96 97 226 129 294 212 250 73 259 7...
output:
Yes 0
result:
ok OK
Test #58:
score: -15
Wrong Answer
time: 1ms
memory: 3828kb
input:
9123 2 4567 3723 617 9031 6645 3406 864 632 7516 1885 4090 7096 3811 6863 163 1553 4408 3019 2180 1837 6006 4381 5668 2417 1715 3459 81 8497 5006 3237 4745 424 893 7704 5141 2869 3595 9104 1932 812 7071 3988 5240 4397 8177 1947 1610 6445 7776 2266 7422 4032 2723 7047 1396 4920 7538 7605 2011 7954 52...
output:
result:
wrong output format Unexpected end of file - token expected
Subtask #4:
score: 0
Wrong Answer
Test #86:
score: 0
Wrong Answer
time: 0ms
memory: 3492kb
input:
3772 3 1254 223 2897 775 861 899 1603 1491 1689 3529 3586 3560 2938 2621 2687 1075 3386 895 2982 2521 2265 2366 1861 20 3078 381 2794 2235 1849 3040 2978 3171 2072 2479 767 1437 1850 3044 725 3051 490 289 1728 248 1320 3107 3093 484 875 2658 1441 3438 2160 1945 803 2763 1245 3267 1581 1031 397 3437 ...
output:
result:
wrong output format Unexpected end of file - token expected
Subtask #5:
score: 0
Wrong Answer
Test #115:
score: 0
Wrong Answer
time: 1ms
memory: 3564kb
input:
8968 5 580 961 963 965 967 969 971 973 975 977 979 981 983 985 987 989 991 993 995 997 999 1001 1003 1005 1007 1009 1011 1013 1015 1017 1019 1021 1023 1025 1027 1029 1031 1033 1035 1037 1039 1041 1043 1045 1047 1049 1051 1053 1055 1057 1059 1061 1063 1065 1067 1069 1071 1073 1075 1077 1079 1081 1083...
output:
result:
wrong output format Unexpected end of file - token expected
Subtask #6:
score: 0
Wrong Answer
Test #143:
score: 0
Wrong Answer
time: 1ms
memory: 3544kb
input:
3742 2 1894 1017 1390 2132 19 883 2503 942 3623 42 1099 1444 120 1109 692 2036 2442 3737 3037 582 118 1307 2904 737 2996 2591 2451 1252 1415 2954 862 914 2757 918 2090 190 1971 894 2207 1600 1272 1765 2704 1615 3625 804 1081 2039 651 3496 3475 496 2321 1169 547 1502 535 1256 3101 3069 2404 3399 239 ...
output:
result:
wrong output format Unexpected end of file - token expected
Subtask #7:
score: 0
Wrong Answer
Test #172:
score: 0
Wrong Answer
time: 0ms
memory: 3728kb
input:
27 5 4 21 14 3 27 3 27 6 24 8 5 20 6 8 14 7 11 13 5 5 14 20 19 11 7 14 20 23 9 15 26 18
output:
result:
wrong output format Unexpected end of file - token expected
Subtask #8:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
0%