QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#326918 | #6715. Масив i ще кiлька масивiв | MaMengQi | 32 | 6ms | 4432kb | C++20 | 3.2kb | 2024-02-14 14:04:57 | 2024-02-14 14:04:57 |
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: 3656kb
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: 1ms
memory: 3888kb
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: 3732kb
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: 3660kb
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: 1ms
memory: 3608kb
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: 3672kb
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: 2ms
memory: 3716kb
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: 3720kb
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: 3720kb
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: 3780kb
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: 1ms
memory: 3716kb
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: 3748kb
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: 3668kb
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: 0ms
memory: 3792kb
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: 3720kb
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: 3948kb
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: 3720kb
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: 3724kb
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: 3920kb
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: 1ms
memory: 3752kb
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: 3716kb
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: 3604kb
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: 1ms
memory: 3688kb
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: 1ms
memory: 3640kb
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: 3736kb
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: 3664kb
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: 3892kb
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: 3708kb
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: 1ms
memory: 3740kb
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: 1ms
memory: 3904kb
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: 3712kb
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: 1ms
memory: 3656kb
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: 3672kb
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: 1ms
memory: 3636kb
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: 0ms
memory: 3756kb
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: 3964kb
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: 3920kb
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: 0ms
memory: 3784kb
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: 3668kb
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: 3656kb
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: 3668kb
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: 3796kb
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: 3720kb
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: 3664kb
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: 3720kb
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: 3716kb
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: 1ms
memory: 3752kb
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: 0ms
memory: 3664kb
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: 3712kb
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: 1ms
memory: 3860kb
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: 3644kb
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: 3692kb
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: 0ms
memory: 3716kb
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: 3660kb
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: 3680kb
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: 3720kb
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: 15
Accepted
Dependency #1:
100%
Accepted
Test #57:
score: 15
Accepted
time: 0ms
memory: 3876kb
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: 0
Accepted
time: 3ms
memory: 4092kb
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:
Yes 0 0
result:
ok OK
Test #59:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
1703 2 850 88 143 36 926 151 916 350 1456 1373 750 1590 757 248 1487 525 393 1416 102 1188 725 1601 1206 235 203 104 560 576 1611 1259 856 235 1450 1038 43 490 551 676 319 420 204 1170 1543 1330 763 1639 337 217 689 26 1007 612 708 1632 949 263 1162 245 79 1469 152 890 492 1372 1082 215 967 1534 220...
output:
No
result:
ok OK
Test #60:
score: 0
Accepted
time: 1ms
memory: 3712kb
input:
8147 2 4045 3833 6580 3718 1612 2174 2499 29 5539 5231 7473 7665 3012 2700 665 1464 5872 4434 3398 4042 3949 1456 3732 4087 7360 8077 4996 6397 6136 3319 6376 1217 4917 2641 3387 1265 4215 5421 7063 6285 576 5158 170 7544 464 2977 2895 4518 4749 3473 7715 3954 3682 3029 7942 6159 2371 5754 4160 4161...
output:
No
result:
ok OK
Test #61:
score: 0
Accepted
time: 1ms
memory: 3884kb
input:
4571 2 2262 2326 828 3389 2067 3018 4355 1502 3592 4382 4295 445 4149 2287 1990 3897 3613 1254 3310 3965 1365 3833 1291 3028 3430 1727 3741 393 209 4328 2661 3932 2609 709 3073 59 2768 1453 1322 2621 4357 1945 1911 1508 2777 1057 1820 3212 316 522 3893 1204 2249 1977 2242 1425 758 762 2745 2646 2104...
output:
No
result:
ok OK
Test #62:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
1304 1 1304 531 840 895 80 996 840 15 1188 189 331 215 289 875 752 1135 1187 1300 843 82 295 1041 542 893 647 400 136 769 1300 377 1081 105 470 231 634 875 1010 265 206 125 33 1105 45 1038 893 991 1041 1171 127 401 459 273 312 556 23 173 1209 488 273 469 1239 709 173 28 1286 431 66 525 1263 332 947 ...
output:
No
result:
ok OK
Test #63:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
9970 1 9970 7873 5479 5474 3977 2063 2139 4743 6470 34 6010 6123 6809 4458 4940 149 2405 8349 4770 5320 2947 532 3581 4751 4345 5344 442 466 3876 4003 6710 7238 8777 7993 7049 2707 8302 7746 7698 8626 3400 6544 5426 8383 9955 6849 4471 6875 5031 1816 9580 196 711 5801 1460 2877 9494 8740 8772 9778 5...
output:
Yes 0
result:
ok OK
Test #64:
score: 0
Accepted
time: 4ms
memory: 4188kb
input:
9975 2 4999 5934 223 4085 8061 8624 5151 5029 4905 9605 8531 9240 6441 1293 8992 5775 6954 2868 1145 9616 6812 3450 9920 8307 9963 7270 4835 3447 4736 314 2901 3010 7932 6823 5585 5253 5117 2265 8637 3266 7165 736 9455 7776 4339 9090 1432 5035 9617 9912 3040 3919 9543 6259 1990 3720 5597 1545 2419 3...
output:
Yes 0 2
result:
ok OK
Test #65:
score: 0
Accepted
time: 3ms
memory: 4156kb
input:
9968 2 4888 7819 3617 7531 6304 6774 2290 7833 4857 566 5191 381 314 6976 5300 2802 4155 2962 8745 7702 4187 9525 9086 3949 5293 8984 4739 1582 3166 5658 2215 8659 6535 505 6694 2332 4807 193 146 6388 502 4888 8767 6301 5462 398 4815 316 33 9537 6021 383 1443 4134 1705 104 2880 7740 5207 4570 4930 4...
output:
Yes -2 0
result:
ok OK
Test #66:
score: 0
Accepted
time: 4ms
memory: 4392kb
input:
9971 2 5021 4020 9433 7004 4190 6290 3123 8841 6838 2293 2100 1062 2536 2252 9907 7575 7733 5680 2857 5104 6415 5667 9539 5521 8803 6464 8773 8617 114 2729 1518 3269 3254 9010 7955 4885 7259 4838 6712 4633 1072 3573 8788 4826 1028 4956 1444 7088 1543 9101 8623 9946 3542 6746 8740 939 632 6528 2666 5...
output:
Yes 1 0
result:
ok OK
Test #67:
score: 0
Accepted
time: 3ms
memory: 4128kb
input:
9968 2 4905 8267 2066 6872 3713 5873 737 1976 5145 8759 4199 3862 8877 4726 1115 6932 8436 9564 3241 5951 2878 8324 8328 4975 5807 9948 4922 8513 6112 2370 2027 586 4148 9459 6407 7296 383 9528 92 595 9873 8893 3084 8340 463 4844 5669 9382 3754 2245 3214 1532 1447 3397 5713 6420 2053 4111 8923 7775 ...
output:
Yes 0 -1
result:
ok OK
Test #68:
score: 0
Accepted
time: 1ms
memory: 3852kb
input:
1854 1 1854 395 1761 516 1384 1543 138 399 14 1132 1107 427 1693 1796 448 795 55 1373 851 840 20 874 1405 1473 227 743 119 1260 1491 528 826 1267 1498 1787 213 1215 577 1336 488 500 159 1626 695 1827 815 738 652 237 103 379 857 1204 1138 1570 1691 231 1520 1246 1112 1530 204 1374 911 1824 1228 664 1...
output:
Yes 0
result:
ok OK
Test #69:
score: 0
Accepted
time: 6ms
memory: 4184kb
input:
9960 2 4967 9470 9134 6924 9183 5738 492 1525 6397 2588 8129 6865 9379 8817 3783 8574 5404 9227 3975 6577 2108 712 8991 9611 448 8635 9737 8618 7261 9515 1955 7431 1477 2367 8280 3100 7304 7273 9733 854 1421 6476 5441 4863 4966 4872 4167 693 6647 4031 699 9446 2094 9587 5880 2263 3859 5489 6523 1322...
output:
Yes -1 2
result:
ok OK
Test #70:
score: 0
Accepted
time: 1ms
memory: 3720kb
input:
9997 1 9997 154 9910 3381 101 5195 9889 7026 7529 7211 2514 6584 1361 3849 6171 67 2065 6932 5718 9322 4070 1737 5410 3325 5425 4056 2409 5952 5205 1604 8488 8716 865 6982 5829 5939 2995 5596 3093 8874 4485 4647 5840 6576 3634 6191 3468 8475 9743 9646 1897 130 6965 1150 3573 7254 800 8198 5500 2525 ...
output:
Yes 0
result:
ok OK
Test #71:
score: 0
Accepted
time: 2ms
memory: 4432kb
input:
9973 2 4910 8180 1988 6017 5863 5971 74 4301 1001 5455 6575 3037 5991 4622 2391 6881 812 4225 1271 7649 3687 9420 6060 1622 2687 6935 6534 9560 1736 8611 5754 2246 6244 8636 7498 1631 6726 8748 8156 6191 4829 4032 780 8159 3015 3286 9197 3517 1836 6108 7568 5704 4788 5243 3099 1254 3515 4577 1706 23...
output:
Yes -1 0
result:
ok OK
Test #72:
score: 0
Accepted
time: 4ms
memory: 4136kb
input:
9975 2 5005 8004 675 6161 4816 3565 30 9577 4252 2709 313 1457 8001 9818 7075 2565 3167 7302 3644 6283 6395 4233 7508 2695 6045 4797 278 9357 1754 135 9008 3757 3441 4343 3336 1757 2642 3775 2949 950 7090 3862 1064 9974 5755 3181 9032 1368 2656 5330 7394 7509 1975 4475 226 9167 7215 5901 788 8740 55...
output:
Yes -2 0
result:
ok OK
Test #73:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
9985 1 9985 6355 4309 472 949 5124 8158 239 1880 7277 8016 8262 2322 5923 4519 6288 7908 1017 4320 3002 3621 3994 9102 3826 8989 852 2631 7721 7026 2884 8397 1838 5049 4976 7715 7395 1803 2949 2465 9318 8429 4300 9804 1182 3563 2495 2085 3509 9712 8009 3861 6766 380 8735 5371 2354 2678 5800 8430 636...
output:
Yes 0
result:
ok OK
Test #74:
score: 0
Accepted
time: 1ms
memory: 3676kb
input:
9987 1 9987 7781 2979 4813 1539 642 567 4112 5192 9307 6886 1467 3579 5364 4621 2832 6343 848 8647 8871 7636 5 8204 9910 3498 1246 975 2357 3120 7328 4939 8062 7373 4077 967 604 6782 6384 7754 316 574 4702 4201 3837 5674 8169 1052 8042 1314 2532 3289 7714 231 8879 9727 3335 5398 9025 4305 7642 4551 ...
output:
No
result:
ok OK
Test #75:
score: 0
Accepted
time: 1ms
memory: 3720kb
input:
9988 2 4983 8114 1802 7431 472 5815 8884 1187 7353 8959 4948 2408 4091 1113 590 7189 5820 152 9012 1421 2404 2820 5855 9648 3260 8985 5334 3693 8075 75 464 1523 1139 4476 3806 3697 7986 485 5590 9812 5450 6038 8260 5207 972 3203 3753 2016 7445 4419 5472 6848 6990 3246 2441 4845 899 343 8526 3050 412...
output:
No
result:
ok OK
Test #76:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
9999 2 5021 2650 3964 9621 9504 63 8632 3368 5829 945 9195 370 5260 551 4342 409 4670 1100 1481 3635 4857 9082 7722 730 7274 485 9913 5654 3650 7390 9931 3480 1315 9859 1174 6770 4399 5632 281 5907 437 2692 2839 9813 9908 3598 8709 8498 9075 7180 4818 6777 3450 4554 7803 5165 2360 373 4853 4938 2911...
output:
No
result:
ok OK
Test #77:
score: 0
Accepted
time: 1ms
memory: 3716kb
input:
9960 1 9960 4186 3582 1931 4092 3996 8892 2037 4596 1725 2268 3641 2926 8901 2724 2282 8962 2622 991 6000 1431 9232 9046 1978 3621 1577 6960 299 5945 8012 2067 6276 993 1366 2480 5952 5822 6315 5182 6720 4103 6773 1159 295 2838 3383 3715 5641 5994 4965 6639 8266 1493 9755 6457 9447 1331 355 9009 345...
output:
No
result:
ok OK
Test #78:
score: 0
Accepted
time: 1ms
memory: 3708kb
input:
10000 2 9305 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 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 384 385 386 387 388 389 390 391 392 393 394 395...
output:
Yes -323 1157
result:
ok OK
Test #79:
score: 0
Accepted
time: 1ms
memory: 3904kb
input:
2275 1 2275 1948 985 994 427 395 1763 1749 429 1028 1686 1107 2058 2037 170 718 48 1448 2109 5 659 963 1925 813 882 569 1034 1646 1532 1987 411 605 1175 1097 2189 1804 405 1910 1408 742 750 1642 1439 2258 2180 1235 743 1278 308 1218 1226 890 1986 1920 1036 27 216 1155 2006 1935 1349 473 647 306 944 ...
output:
Yes 0
result:
ok OK
Test #80:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
7005 1 7005 3320 3885 1715 2918 761 1639 6594 1328 6414 4945 2228 5291 5644 4411 1448 2981 6754 3589 5315 2043 6184 6600 2367 668 2281 638 1949 5471 939 3172 314 5842 6339 5114 5033 4324 6361 2063 3927 5344 3650 3783 3016 5499 1122 4304 2125 5237 2243 5620 5127 6235 6665 1118 4309 6825 4904 3385 246...
output:
Yes 0
result:
ok OK
Test #81:
score: 0
Accepted
time: 1ms
memory: 3916kb
input:
851 2 416 609 157 275 700 202 404 721 747 793 402 330 719 145 643 176 844 457 133 350 720 74 772 254 410 41 764 813 67 198 24 519 142 398 169 833 42 537 689 266 658 796 698 546 464 58 374 84 825 423 207 81 681 818 840 756 581 680 809 642 9 478 563 729 383 414 724 792 557 191 564 299 85 548 143 806 6...
output:
Yes 1 0
result:
ok OK
Test #82:
score: 0
Accepted
time: 1ms
memory: 3788kb
input:
8907 1 8907 6828 1704 5090 4807 460 4811 2098 4121 3746 8334 5969 1134 6186 364 5478 6630 8579 8257 6199 8732 663 940 957 6329 3410 423 7143 5861 3369 6017 2415 6345 2826 654 990 5666 7848 2575 8729 126 4782 6874 5953 5239 2206 113 1450 6223 6462 3060 4940 4136 270 6869 8828 4303 5261 6905 510 8748 ...
output:
Yes 0
result:
ok OK
Test #83:
score: 0
Accepted
time: 1ms
memory: 3712kb
input:
8442 1 8442 7848 4694 721 8192 5241 2320 4597 4086 5589 3241 2876 6746 2904 4916 6662 2457 4789 7454 4732 7730 7773 601 7759 3177 3797 2342 4506 3690 2600 6515 4143 3077 4963 4504 12 7590 4425 8254 2202 8011 6991 1332 1959 5829 2902 1166 895 717 1486 1915 400 3549 6460 3050 3334 6134 3575 5052 181 3...
output:
Yes 0
result:
ok OK
Test #84:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
3591 2 1796 3235 3268 1266 2016 2392 1010 1147 3079 1206 1689 2723 1937 2739 875 256 447 270 2038 10 1175 2237 999 2736 879 1712 676 3457 2030 1773 2258 903 3265 2478 2431 484 1167 3297 455 1528 3402 1438 907 1629 1021 3285 2931 3533 2832 3385 3568 1995 589 3472 596 1355 3374 2819 2958 708 3409 2360...
output:
Yes 0 -1
result:
ok OK
Test #85:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
1356 2 686 110 1172 809 284 1328 776 595 469 693 1326 37 1238 524 818 1223 672 749 352 24 7 27 223 780 290 393 187 1160 496 778 775 922 527 821 991 1052 62 1338 1246 1099 244 766 756 484 989 663 1285 651 395 953 1269 112 175 1167 193 1198 773 1030 1136 1187 948 1094 305 704 649 640 593 954 1095 1298...
output:
Yes -1 0
result:
ok OK
Subtask #4:
score: 0
Wrong Answer
Test #86:
score: 0
Wrong Answer
time: 1ms
memory: 3672kb
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: 3640kb
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: 10
Accepted
time: 1ms
memory: 3784kb
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:
Yes 0 0
result:
ok OK
Test #144:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
5726 1 5726 4742 4990 3794 4131 5409 3383 576 173 5346 5587 660 3255 2358 5550 989 5047 3872 4287 832 1949 3854 3305 2255 918 974 2433 4873 1427 247 4807 1512 1802 3423 4766 2972 720 2986 4601 3728 3855 4432 4176 5116 202 4094 4907 4270 412 4521 2158 3705 3487 2808 2004 2802 4080 5120 5487 2361 2241...
output:
Yes 0
result:
ok OK
Test #145:
score: 0
Accepted
time: 1ms
memory: 3916kb
input:
8917 1 8917 692 5328 1064 7865 1215 2141 2161 2459 6059 5889 7993 2827 8687 427 2955 6492 1614 2508 1795 5757 5760 5644 6388 2878 2921 6641 1119 7955 5897 2993 6324 8006 821 7428 5760 1493 3566 2331 1950 8386 8063 8526 7287 5677 6567 1204 288 7247 6747 4942 7088 6444 5147 5865 8641 2647 2121 2324 18...
output:
No
result:
ok OK
Test #146:
score: 0
Accepted
time: 1ms
memory: 3672kb
input:
3143 4 780 1820 2064 2932 1422 1977 1728 381 3094 1132 27 2020 1543 1283 1362 680 1932 1038 2010 3134 3044 1461 2839 3055 167 1127 868 3013 1137 425 2477 1477 3077 938 2805 1136 1540 2050 2255 2875 2126 2679 162 3078 292 1798 1586 524 2703 377 78 2380 1726 838 963 2605 1540 1056 1832 1336 388 415 30...
output:
No
result:
ok OK
Test #147:
score: 0
Accepted
time: 1ms
memory: 3780kb
input:
8280 4 2146 2515 438 495 3470 7793 3063 1605 5457 5841 8112 3292 1498 4749 7359 7238 7671 4966 5966 6661 2346 458 6901 3 1998 6057 1643 1455 97 1728 4882 7616 5930 7699 3136 5685 1566 8197 5907 714 3472 856 1608 7980 4693 7892 4609 3234 3405 2952 5050 308 2585 6276 3968 3699 6299 7628 4127 5106 3236...
output:
No
result:
ok OK
Test #148:
score: 0
Accepted
time: 1ms
memory: 3748kb
input:
8146 4 2067 1403 4446 1708 5116 6707 6013 5469 719 2278 3575 8081 1594 2586 379 3126 6083 5303 7888 5369 5373 4483 4212 1923 7711 5682 1916 3516 2235 6814 276 4532 1605 1158 4193 3178 6897 712 2557 1891 5142 4991 669 3549 2143 4879 1035 288 1222 3614 4788 7305 4545 128 7526 4265 5314 1684 2179 1651 ...
output:
No
result:
ok OK
Test #149:
score: -10
Wrong Answer
time: 1ms
memory: 3716kb
input:
9984 5 1979 6831 1908 8803 2021 2584 2938 6444 4356 9589 6406 3551 7515 2740 4838 7707 3714 7477 6099 4462 7824 6237 8542 9615 3045 2269 3827 1311 4321 6766 1034 9490 2813 5308 1692 1361 8935 2953 2081 9630 9332 9657 4513 3945 6461 5047 4982 7547 4050 3041 7956 889 1469 820 3415 7176 5739 3814 7908 ...
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: 3832kb
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:
100%
Accepted
Dependency #4:
0%