QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#327369#6715. Масив i ще кiлька масивiвZhaoZiLong19 1ms3940kbC++202.3kb2024-02-14 22:29:362024-02-14 22:29:36

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

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:

No

result:

wrong answer Jury has better answer than participant

Subtask #2:

score: 9
Accepted

Test #29:

score: 9
Accepted
time: 0ms
memory: 3636kb

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
414 -587 -578 107 

result:

ok OK

Test #30:

score: 0
Accepted
time: 1ms
memory: 3684kb

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: 3836kb

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: 3584kb

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: 3660kb

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
1427 -56 

result:

ok OK

Test #34:

score: 0
Accepted
time: 1ms
memory: 3912kb

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: 3924kb

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
2276 -1176 2173 -910 

result:

ok OK

Test #36:

score: 0
Accepted
time: 1ms
memory: 3680kb

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
3095 5233 -856 

result:

ok OK

Test #37:

score: 0
Accepted
time: 1ms
memory: 3892kb

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
-296 2644 2440 4403 -98 

result:

ok OK

Test #38:

score: 0
Accepted
time: 0ms
memory: 3628kb

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 1700 2547 

result:

ok OK

Test #39:

score: 0
Accepted
time: 1ms
memory: 3568kb

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
5152 -186 3268 186 1544 

result:

ok OK

Test #40:

score: 0
Accepted
time: 0ms
memory: 3684kb

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: 3556kb

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 673 -1309 -587 

result:

ok OK

Test #42:

score: 0
Accepted
time: 1ms
memory: 3664kb

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
5263 -186 1933 5691 6 

result:

ok OK

Test #43:

score: 0
Accepted
time: 1ms
memory: 3680kb

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
1804 -1352 -3817 

result:

ok OK

Test #44:

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

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
512 2873 -1242 2648 2199 

result:

ok OK

Test #45:

score: 0
Accepted
time: 1ms
memory: 3696kb

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: 3620kb

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 315 6968 

result:

ok OK

Test #47:

score: 0
Accepted
time: 0ms
memory: 3856kb

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
2999 -1295 

result:

ok OK

Test #48:

score: 0
Accepted
time: 1ms
memory: 3688kb

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: 3856kb

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 4629 3742 

result:

ok OK

Test #50:

score: 0
Accepted
time: 0ms
memory: 3660kb

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
1364 -284 1377 

result:

ok OK

Test #51:

score: 0
Accepted
time: 0ms
memory: 3840kb

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
43 13 37 -79 

result:

ok OK

Test #52:

score: 0
Accepted
time: 1ms
memory: 3668kb

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: 3628kb

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: 3548kb

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: 3640kb

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 -443 -426 339 -845 

result:

ok OK

Test #56:

score: 0
Accepted
time: 0ms
memory: 3648kb

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
57 47 -25 -28 -372 

result:

ok OK

Subtask #3:

score: 0
Skipped

Dependency #1:

0%

Subtask #4:

score: 0
Wrong Answer

Test #86:

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

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:

No

result:

wrong answer Jury has better answer than participant

Subtask #5:

score: 10
Accepted

Test #115:

score: 10
Accepted
time: 1ms
memory: 3884kb

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:

Yes
6634 -930 3534 -38 1922 

result:

ok OK

Test #116:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

498 2
249 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 101 103 105 107 109 111 113 115 117 119 121 123 125 127 129 131 133 135 137 139 141 143 145 147 149 151 153 155 157 159 161 163 165 167 169 171 1...

output:

Yes
0 0 

result:

ok OK

Test #117:

score: 0
Accepted
time: 1ms
memory: 3936kb

input:

9520 5
241 7803 7805 7807 7809 7811 7813 7815 7817 7819 7821 7823 7825 7827 7829 7831 7833 7835 7837 7839 7841 7843 7845 7847 7849 7851 7853 7855 7857 7859 7861 7863 7865 7867 7869 7871 7873 7875 7877 7879 7881 7883 7885 7887 7889 7891 7893 7895 7897 7899 7901 7903 7905 7907 7909 7911 7913 7915 7917...

output:

Yes
1237 7389 -145 -26 -1205 

result:

ok OK

Test #118:

score: 0
Accepted
time: 1ms
memory: 3908kb

input:

7427 4
1379 1722 1724 1726 1728 1730 1732 1734 1736 1738 1740 1742 1744 1746 1748 1750 1752 1754 1756 1758 1760 1762 1764 1766 1768 1770 1772 1774 1776 1778 1780 1782 1784 1786 1788 1790 1792 1794 1796 1798 1800 1802 1804 1806 1808 1810 1812 1814 1816 1818 1820 1822 1824 1826 1828 1830 1832 1834 183...

output:

Yes
-1720 0 2076 902 

result:

ok OK

Test #119:

score: 0
Accepted
time: 1ms
memory: 3924kb

input:

7708 4
2992 590 592 594 596 598 600 602 604 606 608 610 612 614 616 618 620 622 624 626 628 630 632 634 636 638 640 642 644 646 648 650 652 654 656 658 660 662 664 666 668 670 672 674 676 678 680 682 684 686 688 690 692 694 696 698 700 702 704 706 708 710 712 714 716 718 720 722 724 726 728 730 732 ...

output:

Yes
-589 3209 -646 1871 

result:

ok OK

Test #120:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

7435 4
2210 437 439 441 443 445 447 449 451 453 455 457 459 461 463 465 467 469 471 473 475 477 479 481 483 485 487 489 491 493 495 497 499 501 503 505 507 509 511 513 515 517 519 521 523 525 527 529 531 533 535 537 539 541 543 545 547 549 551 553 555 557 559 561 563 565 567 569 571 573 575 577 579 ...

output:

Yes
-435 -1775 641 1152 

result:

ok OK

Test #121:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

9982 5
4107 1385 1387 1389 1391 1393 1395 1397 1399 1401 1403 1405 1407 1409 1411 1413 1415 1417 1419 1421 1423 1425 1427 1429 1431 1433 1435 1437 1439 1441 1443 1445 1447 1449 1451 1453 1455 1457 1459 1461 1463 1465 1467 1469 1471 1473 1475 1477 1479 1481 1483 1485 1487 1489 1491 1493 1495 1497 149...

output:

Yes
-1383 6322 5743 -127 260 

result:

ok OK

Test #122:

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

input:

9978 4
673 1181 1183 1185 1187 1189 1191 1193 1195 1197 1199 1201 1203 1205 1207 1209 1211 1213 1215 1217 1219 1221 1223 1225 1227 1229 1231 1233 1235 1237 1239 1241 1243 1245 1247 1249 1251 1253 1255 1257 1259 1261 1263 1265 1267 1269 1271 1273 1275 1277 1279 1281 1283 1285 1287 1289 1291 1293 1295...

output:

Yes
-1179 0 -100 3627 

result:

ok OK

Test #123:

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

input:

9987 4
4262 567 569 571 573 575 577 579 581 583 585 587 589 591 593 595 597 599 601 603 605 607 609 611 613 615 617 619 621 623 625 627 629 631 633 635 637 639 641 643 645 647 649 651 653 655 657 659 661 663 665 667 669 671 673 675 677 679 681 683 685 687 689 691 693 695 697 699 701 703 705 707 709 ...

output:

Yes
-565 3953 119 -169 

result:

ok OK

Test #124:

score: 0
Accepted
time: 1ms
memory: 3940kb

input:

9999 5
569 6301 6303 6305 6307 6309 6311 6313 6315 6317 6319 6321 6323 6325 6327 6329 6331 6333 6335 6337 6339 6341 6343 6345 6347 6349 6351 6353 6355 6357 6359 6361 6363 6365 6367 6369 6371 6373 6375 6377 6379 6381 6383 6385 6387 6389 6391 6393 6395 6397 6399 6401 6403 6405 6407 6409 6411 6413 6415...

output:

Yes
2562 -3168 2390 0 -623 

result:

ok OK

Test #125:

score: 0
Accepted
time: 1ms
memory: 3724kb

input:

9997 4
72 3416 3418 3420 3422 3424 3426 3428 3430 3432 3434 3436 3438 3440 3442 3444 3446 3448 3450 3452 3454 3456 3458 3460 3462 3464 3466 3468 3470 3472 3474 3476 3478 3480 3482 3484 3486 3488 3490 3492 3494 3496 3498 3500 3502 3504 3506 3508 3510 3512 3514 3516 3518 3520 3522 3524 3526 3528 3530 ...

output:

Yes
6438 3724 -47 -872 

result:

ok OK

Test #126:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

191 4
28 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78
22 77 79 81 83 85 87 89 91 93 95 97 99 101 103 105 107 109 111 113 115 117 119
95 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 ...

output:

Yes
-23 72 -1 8 

result:

ok OK

Test #127:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

9962 5
4820 220 222 224 226 228 230 232 234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272 274 276 278 280 282 284 286 288 290 292 294 296 298 300 302 304 306 308 310 312 314 316 318 320 322 324 326 328 330 332 334 336 338 340 342 344 346 348 350 352 354 356 358 360 362 ...

output:

Yes
-219 1209 -1618 774 6481 

result:

ok OK

Test #128:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

9998 4
3720 305 307 309 311 313 315 317 319 321 323 325 327 329 331 333 335 337 339 341 343 345 347 349 351 353 355 357 359 361 363 365 367 369 371 373 375 377 379 381 383 385 387 389 391 393 395 397 399 401 403 405 407 409 411 413 415 417 419 421 423 425 427 429 431 433 435 437 439 441 443 445 447 ...

output:

Yes
-303 6478 6038 -1 

result:

ok OK

Test #129:

score: 0
Accepted
time: 1ms
memory: 3688kb

input:

9964 2
4982 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 101 103 105 107 109 111 113 115 117 119 121 123 125 127 129 131 133 135 137 139 141 143 145 147 149 151 153 155 157 159 161 163 165 167 169 171...

output:

Yes
0 0 

result:

ok OK

Test #130:

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

input:

9976 3
4988 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 1...

output:

Yes
-1 1139 -2758 

result:

ok OK

Test #131:

score: 0
Accepted
time: 1ms
memory: 3880kb

input:

9976 4
2732 1962 1964 1966 1968 1970 1972 1974 1976 1978 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 2002 2004 2006 2008 2010 2012 2014 2016 2018 2020 2022 2024 2026 2028 2030 2032 2034 2036 2038 2040 2042 2044 2046 2048 2050 2052 2054 2056 2058 2060 2062 2064 2066 2068 2070 2072 2074 207...

output:

Yes
-1580 0 3352 -705 

result:

ok OK

Test #132:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

9975 4
746 3849 3851 3853 3855 3857 3859 3861 3863 3865 3867 3869 3871 3873 3875 3877 3879 3881 3883 3885 3887 3889 3891 3893 3895 3897 3899 3901 3903 3905 3907 3909 3911 3913 3915 3917 3919 3921 3923 3925 3927 3929 3931 3933 3935 3937 3939 3941 3943 3945 3947 3949 3951 3953 3955 3957 3959 3961 3963...

output:

Yes
3538 3994 0 -2432 

result:

ok OK

Test #133:

score: 0
Accepted
time: 0ms
memory: 3656kb

input:

9976 4
2610 4116 4118 4120 4122 4124 4126 4128 4130 4132 4134 4136 4138 4140 4142 4144 4146 4148 4150 4152 4154 4156 4158 4160 4162 4164 4166 4168 4170 4172 4174 4176 4178 4180 4182 4184 4186 4188 4190 4192 4194 4196 4198 4200 4202 4204 4206 4208 4210 4212 4214 4216 4218 4220 4222 4224 4226 4228 423...

output:

Yes
642 -947 -1 2847 

result:

ok OK

Test #134:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

9996 3
4998 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 1...

output:

Yes
-1 -440 2580 

result:

ok OK

Test #135:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

9964 5
963 2568 2570 2572 2574 2576 2578 2580 2582 2584 2586 2588 2590 2592 2594 2596 2598 2600 2602 2604 2606 2608 2610 2612 2614 2616 2618 2620 2622 2624 2626 2628 2630 2632 2634 2636 2638 2640 2642 2644 2646 2648 2650 2652 2654 2656 2658 2660 2662 2664 2666 2668 2670 2672 2674 2676 2678 2680 2682...

output:

Yes
5472 562 -1 -394 -48 

result:

ok OK

Test #136:

score: 0
Accepted
time: 1ms
memory: 3920kb

input:

7795 5
597 5563 5565 5567 5569 5571 5573 5575 5577 5579 5581 5583 5585 5587 5589 5591 5593 5595 5597 5599 5601 5603 5605 5607 5609 5611 5613 5615 5617 5619 5621 5623 5625 5627 5629 5631 5633 5635 5637 5639 5641 5643 5645 5647 5649 5651 5653 5655 5657 5659 5661 5663 5665 5667 5669 5671 5673 5675 5677...

output:

Yes
1040 -740 378 -1246 1924 

result:

ok OK

Test #137:

score: 0
Accepted
time: 1ms
memory: 3832kb

input:

4782 3
1746 984 986 988 990 992 994 996 998 1000 1002 1004 1006 1008 1010 1012 1014 1016 1018 1020 1022 1024 1026 1028 1030 1032 1034 1036 1038 1040 1042 1044 1046 1048 1050 1052 1054 1056 1058 1060 1062 1064 1066 1068 1070 1072 1074 1076 1078 1080 1082 1084 1086 1088 1090 1092 1094 1096 1098 1100 1...

output:

Yes
-982 -1 1566 

result:

ok OK

Test #138:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

1338 2
669 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 17...

output:

Yes
-1 0 

result:

ok OK

Test #139:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

6514 2
3257 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 101 103 105 107 109 111 113 115 117 119 121 123 125 127 129 131 133 135 137 139 141 143 145 147 149 151 153 155 157 159 161 163 165 167 169 171...

output:

Yes
0 1 

result:

ok OK

Test #140:

score: 0
Accepted
time: 0ms
memory: 3808kb

input:

330 5
81 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192 194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232 234 236 238...

output:

Yes
-90 128 5 -41 7 

result:

ok OK

Test #141:

score: 0
Accepted
time: 1ms
memory: 3652kb

input:

8275 4
300 3285 3287 3289 3291 3293 3295 3297 3299 3301 3303 3305 3307 3309 3311 3313 3315 3317 3319 3321 3323 3325 3327 3329 3331 3333 3335 3337 3339 3341 3343 3345 3347 3349 3351 3353 3355 3357 3359 3361 3363 3365 3367 3369 3371 3373 3375 3377 3379 3381 3383 3385 3387 3389 3391 3393 3395 3397 3399...

output:

Yes
4392 2820 -1970 0 

result:

ok OK

Test #142:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

2722 3
1176 139 141 143 145 147 149 151 153 155 157 159 161 163 165 167 169 171 173 175 177 179 181 183 185 187 189 191 193 195 197 199 201 203 205 207 209 211 213 215 217 219 221 223 225 227 229 231 233 235 237 239 241 243 245 247 249 251 253 255 257 259 261 263 265 267 269 271 273 275 277 279 281 ...

output:

Yes
-137 0 2005 

result:

ok OK

Subtask #6:

score: 0
Wrong Answer

Test #143:

score: 0
Wrong Answer
time: 1ms
memory: 3592kb

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:

No

result:

wrong answer Jury has better answer than participant

Subtask #7:

score: 0
Wrong Answer

Test #172:

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

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:

No

result:

wrong answer Jury has better answer than participant

Subtask #8:

score: 0
Skipped

Dependency #1:

0%