Esempio n. 1
0
        public void RemoveStonesTest_3()
        {
            var solution = new _0947_MostStonesRemovedWithSameRoworColumn();
            var result   = solution.RemoveStones(
                new int[][]
            {
                new int[] { 0, 0 }
            }
                );

            Assert.AreEqual(0, result);
        }
Esempio n. 2
0
        public void RemoveStonesTest_4()
        {
            var solution = new _0947_MostStonesRemovedWithSameRoworColumn();
            var result   = solution.RemoveStones(
                new int[][]
            {
                new int[] { 279, 2814 },
                new int[] { 2343, 975 },
                new int[] { 2680, 1479 },
                new int[] { 1922, 451 },
                new int[] { 1538, 2188 },
                new int[] { 2180, 1620 },
                new int[] { 2452, 1425 },
                new int[] { 1626, 1625 },
                new int[] { 2697, 1281 },
                new int[] { 1450, 339 },
                new int[] { 1252, 219 },
                new int[] { 2256, 1772 },
                new int[] { 150, 1442 },
                new int[] { 691, 2958 },
                new int[] { 2477, 1565 },
                new int[] { 1730, 1884 },
                new int[] { 1077, 291 },
                new int[] { 641, 1267 },
                new int[] { 1196, 1419 },
                new int[] { 2590, 2078 },
                new int[] { 1285, 2006 },
                new int[] { 2608, 2610 },
                new int[] { 173, 438 },
                new int[] { 191, 2537 },
                new int[] { 1240, 1797 },
                new int[] { 1681, 2174 },
                new int[] { 1145, 1306 },
                new int[] { 2623, 2705 },
                new int[] { 421, 538 },
                new int[] { 2114, 428 },
                new int[] { 1270, 2004 },
                new int[] { 2091, 2376 },
                new int[] { 754, 2827 },
                new int[] { 2816, 1698 },
                new int[] { 2606, 1299 },
                new int[] { 1881, 1299 },
                new int[] { 1511, 420 },
                new int[] { 2929, 44 },
                new int[] { 1945, 258 },
                new int[] { 2700, 2455 },
                new int[] { 36, 1556 },
                new int[] { 1049, 1545 },
                new int[] { 1242, 1486 },
                new int[] { 893, 2322 },
                new int[] { 2117, 2955 },
                new int[] { 269, 1299 },
                new int[] { 497, 2145 },
                new int[] { 2495, 1110 },
                new int[] { 2851, 1273 },
                new int[] { 1221, 864 },
                new int[] { 16, 1491 },
                new int[] { 403, 2549 },
                new int[] { 2125, 1281 },
                new int[] { 160, 2062 },
                new int[] { 2887, 141 },
                new int[] { 2583, 2216 },
                new int[] { 2247, 754 },
                new int[] { 504, 1141 },
                new int[] { 2372, 2404 },
                new int[] { 1711, 1047 },
                new int[] { 751, 2211 },
                new int[] { 1232, 244 },
                new int[] { 2309, 961 },
                new int[] { 2943, 488 },
                new int[] { 822, 1485 },
                new int[] { 1273, 0 },
                new int[] { 2306, 2209 },
                new int[] { 2223, 712 },
                new int[] { 2596, 86 },
                new int[] { 2245, 128 },
                new int[] { 2567, 727 },
                new int[] { 2526, 2479 },
                new int[] { 44, 2623 },
                new int[] { 968, 735 },
                new int[] { 1256, 1831 },
                new int[] { 234, 1302 },
                new int[] { 2181, 586 },
                new int[] { 2365, 1033 },
                new int[] { 529, 2910 },
                new int[] { 822, 777 },
                new int[] { 131, 489 },
                new int[] { 729, 2030 },
                new int[] { 1621, 299 },
                new int[] { 932, 1589 },
                new int[] { 1589, 1649 },
                new int[] { 498, 1813 },
                new int[] { 1218, 366 },
                new int[] { 2309, 2754 },
                new int[] { 2709, 2553 },
                new int[] { 1671, 795 },
                new int[] { 2851, 700 },
                new int[] { 1944, 1143 },
                new int[] { 2430, 2714 },
                new int[] { 2283, 1291 },
                new int[] { 2730, 838 },
                new int[] { 257, 146 },
                new int[] { 2862, 1167 },
                new int[] { 2093, 2561 },
                new int[] { 1379, 2025 },
                new int[] { 901, 1019 },
                new int[] { 2261, 2414 },
                new int[] { 1597, 2796 },
                new int[] { 1221, 2543 },
                new int[] { 2688, 2399 },
                new int[] { 1927, 363 },
                new int[] { 113, 720 },
                new int[] { 241, 411 },
                new int[] { 2507, 668 },
                new int[] { 1984, 2278 },
                new int[] { 409, 1460 },
                new int[] { 2916, 2547 },
                new int[] { 1576, 2495 },
                new int[] { 737, 1125 },
                new int[] { 2566, 1241 },
                new int[] { 2040, 344 },
                new int[] { 2600, 2363 },
                new int[] { 2798, 1218 },
                new int[] { 1424, 2763 },
                new int[] { 2180, 1459 },
                new int[] { 2532, 2072 },
                new int[] { 2493, 2318 },
                new int[] { 595, 1889 },
                new int[] { 1860, 353 },
                new int[] { 2880, 1402 },
                new int[] { 1191, 2453 },
                new int[] { 1488, 392 },
                new int[] { 777, 1609 },
                new int[] { 1879, 180 },
                new int[] { 2189, 2377 },
                new int[] { 458, 1878 },
                new int[] { 2350, 1404 },
                new int[] { 1936, 779 },
                new int[] { 615, 512 },
                new int[] { 1562, 2045 },
                new int[] { 1052, 2307 },
                new int[] { 1024, 520 },
                new int[] { 894, 1624 },
                new int[] { 1733, 773 },
                new int[] { 1807, 222 },
                new int[] { 914, 563 },
                new int[] { 2719, 448 },
                new int[] { 1059, 520 },
                new int[] { 340, 742 },
                new int[] { 1951, 2170 },
                new int[] { 2066, 2825 },
                new int[] { 104, 604 },
                new int[] { 2836, 1969 },
                new int[] { 1676, 2523 },
                new int[] { 961, 1456 },
                new int[] { 1390, 647 },
                new int[] { 2703, 2911 },
                new int[] { 955, 2698 },
                new int[] { 849, 183 },
                new int[] { 1376, 2044 },
                new int[] { 740, 2163 },
                new int[] { 2577, 2983 },
                new int[] { 688, 1846 },
                new int[] { 328, 753 },
                new int[] { 1177, 2262 },
                new int[] { 1149, 1682 },
                new int[] { 1837, 90 },
                new int[] { 313, 2584 },
                new int[] { 880, 1181 },
                new int[] { 351, 2241 },
                new int[] { 298, 2527 },
                new int[] { 2260, 1626 },
                new int[] { 2185, 1390 },
                new int[] { 1019, 1915 },
                new int[] { 2213, 600 },
                new int[] { 2840, 1166 },
                new int[] { 22, 722 },
                new int[] { 2435, 2438 },
                new int[] { 1829, 1793 },
                new int[] { 1190, 1733 },
                new int[] { 986, 815 },
                new int[] { 1467, 2135 },
                new int[] { 2255, 2238 },
                new int[] { 826, 1067 },
                new int[] { 1807, 1723 },
                new int[] { 1355, 345 },
                new int[] { 728, 184 },
                new int[] { 2908, 174 },
                new int[] { 312, 73 },
                new int[] { 2878, 1597 },
                new int[] { 1881, 14 },
                new int[] { 306, 2664 },
                new int[] { 2944, 3 },
                new int[] { 2063, 2607 },
                new int[] { 2403, 1494 },
                new int[] { 1797, 549 },
                new int[] { 2691, 2615 },
                new int[] { 2118, 1281 },
                new int[] { 1214, 1329 },
                new int[] { 1655, 885 },
                new int[] { 2973, 2797 },
                new int[] { 365, 968 },
                new int[] { 777, 1458 },
                new int[] { 2922, 1403 },
                new int[] { 1444, 2366 },
                new int[] { 1573, 2718 },
                new int[] { 1979, 1655 },
                new int[] { 1869, 1847 },
                new int[] { 184, 1298 },
                new int[] { 1357, 1123 },
                new int[] { 1744, 2903 },
                new int[] { 2892, 2386 },
                new int[] { 2798, 193 },
                new int[] { 2126, 706 },
                new int[] { 718, 2582 },
                new int[] { 215, 220 },
                new int[] { 2428, 1921 },
                new int[] { 321, 1705 },
                new int[] { 852, 2383 },
                new int[] { 293, 771 },
                new int[] { 1294, 933 },
                new int[] { 961, 1037 },
                new int[] { 2892, 2951 },
                new int[] { 1026, 875 },
                new int[] { 1642, 155 },
                new int[] { 349, 824 },
                new int[] { 2910, 2343 },
                new int[] { 780, 726 },
                new int[] { 1861, 2576 },
                new int[] { 1456, 227 },
                new int[] { 1961, 2710 },
                new int[] { 2035, 2853 },
                new int[] { 2179, 902 },
                new int[] { 2295, 1126 },
                new int[] { 62, 1761 },
                new int[] { 378, 1722 },
                new int[] { 2254, 505 },
                new int[] { 203, 2621 },
                new int[] { 209, 2429 },
                new int[] { 2226, 2085 },
                new int[] { 1412, 827 },
                new int[] { 790, 755 },
                new int[] { 2375, 893 },
                new int[] { 968, 1049 },
                new int[] { 457, 1696 },
                new int[] { 2999, 244 },
                new int[] { 1164, 2494 },
                new int[] { 2850, 132 },
                new int[] { 1556, 304 },
                new int[] { 2104, 1394 },
                new int[] { 2276, 2504 },
                new int[] { 1856, 1838 },
                new int[] { 1677, 893 },
                new int[] { 221, 2677 },
                new int[] { 2784, 2818 },
                new int[] { 779, 1153 },
                new int[] { 2962, 1161 },
                new int[] { 2489, 85 },
                new int[] { 37, 279 },
                new int[] { 1033, 870 },
                new int[] { 1502, 2978 },
                new int[] { 1495, 1391 },
                new int[] { 2700, 2851 },
                new int[] { 45, 46 },
                new int[] { 1335, 2155 },
                new int[] { 2859, 296 },
                new int[] { 2380, 447 },
                new int[] { 1957, 328 },
                new int[] { 562, 2135 },
                new int[] { 2070, 1078 },
                new int[] { 233, 48 },
                new int[] { 407, 2666 },
                new int[] { 1981, 564 },
                new int[] { 250, 485 },
                new int[] { 857, 2496 },
                new int[] { 2194, 73 },
                new int[] { 765, 261 },
                new int[] { 2045, 1768 },
                new int[] { 773, 1612 },
                new int[] { 2728, 2325 },
                new int[] { 1830, 640 },
                new int[] { 2618, 1253 },
                new int[] { 1392, 1088 },
                new int[] { 2258, 1000 },
                new int[] { 2738, 478 },
                new int[] { 1735, 2406 },
                new int[] { 600, 1774 },
                new int[] { 1682, 1222 },
                new int[] { 161, 2918 },
                new int[] { 1887, 599 },
                new int[] { 1498, 2535 },
                new int[] { 1213, 612 },
                new int[] { 2915, 795 },
                new int[] { 2845, 976 },
                new int[] { 424, 260 },
                new int[] { 1075, 639 },
                new int[] { 264, 2945 },
                new int[] { 855, 715 },
                new int[] { 1130, 2745 },
                new int[] { 2562, 1625 },
                new int[] { 763, 360 },
                new int[] { 1724, 1043 },
                new int[] { 2813, 1930 },
                new int[] { 384, 2363 },
                new int[] { 197, 275 },
                new int[] { 914, 2153 },
                new int[] { 809, 2885 },
                new int[] { 143, 2347 },
                new int[] { 659, 2872 },
                new int[] { 2855, 2995 },
                new int[] { 2686, 2122 },
                new int[] { 623, 1043 },
                new int[] { 2263, 2172 },
                new int[] { 2634, 2672 },
                new int[] { 990, 1897 },
                new int[] { 1628, 672 },
                new int[] { 863, 1034 },
                new int[] { 1216, 129 },
                new int[] { 1268, 2810 },
                new int[] { 1858, 2332 },
                new int[] { 2061, 632 },
                new int[] { 1851, 2069 },
                new int[] { 696, 1381 },
                new int[] { 659, 859 },
                new int[] { 2299, 322 },
                new int[] { 2109, 989 },
                new int[] { 65, 763 },
                new int[] { 1873, 515 },
                new int[] { 2954, 1859 },
                new int[] { 544, 887 },
                new int[] { 691, 1224 },
                new int[] { 927, 968 },
                new int[] { 433, 1468 },
                new int[] { 2781, 1977 },
                new int[] { 1435, 2594 },
                new int[] { 275, 2802 },
                new int[] { 523, 324 },
                new int[] { 1266, 2146 },
                new int[] { 10, 1139 },
                new int[] { 1708, 121 },
                new int[] { 2367, 2481 },
                new int[] { 2663, 862 },
                new int[] { 1068, 2308 },
                new int[] { 2861, 2962 },
                new int[] { 637, 1667 },
                new int[] { 632, 2781 },
                new int[] { 2685, 2013 },
                new int[] { 1268, 1591 },
                new int[] { 678, 1511 },
                new int[] { 2365, 2337 },
                new int[] { 1903, 2032 },
                new int[] { 913, 275 },
                new int[] { 710, 1831 },
                new int[] { 719, 338 },
                new int[] { 2089, 655 },
                new int[] { 2179, 2849 },
                new int[] { 2292, 2253 },
                new int[] { 765, 1246 },
                new int[] { 961, 926 },
                new int[] { 1309, 1459 },
                new int[] { 1856, 2023 },
                new int[] { 601, 1582 },
                new int[] { 156, 2969 },
                new int[] { 1504, 1473 },
                new int[] { 244, 2074 },
                new int[] { 1472, 1647 },
                new int[] { 445, 1769 },
                new int[] { 1815, 2070 },
                new int[] { 2084, 1787 },
                new int[] { 1205, 2895 },
                new int[] { 151, 1647 },
                new int[] { 340, 368 },
                new int[] { 2664, 2296 },
                new int[] { 280, 667 },
                new int[] { 49, 1935 },
                new int[] { 1578, 2696 },
                new int[] { 526, 2172 },
                new int[] { 487, 673 },
                new int[] { 2054, 1884 },
                new int[] { 2236, 1559 },
                new int[] { 823, 2519 },
                new int[] { 861, 1870 },
                new int[] { 2032, 1947 },
                new int[] { 390, 450 },
                new int[] { 654, 803 },
                new int[] { 1985, 1291 },
                new int[] { 336, 368 },
                new int[] { 1124, 2793 },
                new int[] { 968, 117 },
                new int[] { 943, 2655 },
                new int[] { 606, 1483 },
                new int[] { 1126, 130 },
                new int[] { 2155, 1903 },
                new int[] { 2614, 874 },
                new int[] { 1493, 1090 },
                new int[] { 1699, 907 },
                new int[] { 359, 1374 },
                new int[] { 1104, 1391 },
                new int[] { 2701, 2259 },
                new int[] { 2242, 1176 },
                new int[] { 2238, 569 },
                new int[] { 492, 1431 },
                new int[] { 232, 110 },
                new int[] { 14, 1962 },
                new int[] { 403, 113 },
                new int[] { 1451, 2821 },
                new int[] { 912, 2753 },
                new int[] { 1160, 1590 },
                new int[] { 576, 2686 },
                new int[] { 2497, 2859 },
                new int[] { 1217, 1186 },
                new int[] { 2321, 1629 },
                new int[] { 2024, 169 },
                new int[] { 651, 1429 },
                new int[] { 935, 2049 },
                new int[] { 2980, 2642 },
                new int[] { 2802, 1412 },
                new int[] { 1946, 1963 },
                new int[] { 1305, 801 },
                new int[] { 2952, 1858 },
                new int[] { 457, 276 },
                new int[] { 2806, 667 },
                new int[] { 1011, 2407 },
                new int[] { 2861, 1668 },
                new int[] { 190, 2286 },
                new int[] { 1267, 2597 },
                new int[] { 923, 369 },
                new int[] { 698, 691 },
                new int[] { 1398, 84 },
                new int[] { 1174, 90 },
                new int[] { 1540, 2547 },
                new int[] { 370, 1549 },
                new int[] { 2983, 114 },
                new int[] { 1160, 1962 },
                new int[] { 772, 1517 },
                new int[] { 1230, 1953 },
                new int[] { 2337, 1546 },
                new int[] { 2122, 2784 },
                new int[] { 1477, 2012 },
                new int[] { 1991, 2178 },
                new int[] { 1370, 2680 },
                new int[] { 2207, 1009 },
                new int[] { 588, 1200 },
                new int[] { 1700, 139 },
                new int[] { 1884, 1720 },
                new int[] { 75, 2688 },
                new int[] { 2171, 327 },
                new int[] { 1038, 929 },
                new int[] { 584, 1958 },
                new int[] { 2458, 2163 },
                new int[] { 1468, 2194 },
                new int[] { 2348, 1135 },
                new int[] { 557, 1244 },
                new int[] { 2608, 1495 },
                new int[] { 1754, 2722 },
                new int[] { 2776, 2969 },
                new int[] { 2699, 1236 },
                new int[] { 225, 777 },
                new int[] { 821, 397 },
                new int[] { 271, 1004 },
                new int[] { 540, 555 },
                new int[] { 1590, 1583 },
                new int[] { 557, 2920 },
                new int[] { 1217, 1053 },
                new int[] { 755, 2122 },
                new int[] { 2758, 47 },
                new int[] { 2868, 1563 },
                new int[] { 1986, 2891 },
                new int[] { 833, 369 },
                new int[] { 2779, 1709 },
                new int[] { 1132, 685 },
                new int[] { 318, 2527 },
                new int[] { 1461, 1803 },
                new int[] { 1088, 1481 },
                new int[] { 1694, 7 },
                new int[] { 2805, 2829 },
                new int[] { 2620, 2654 },
                new int[] { 1355, 1701 },
                new int[] { 1109, 414 },
                new int[] { 766, 221 },
                new int[] { 2617, 916 },
                new int[] { 2155, 693 },
                new int[] { 2918, 18 },
                new int[] { 2830, 2616 },
                new int[] { 1266, 346 },
                new int[] { 2774, 2537 },
                new int[] { 937, 126 },
                new int[] { 1550, 864 },
                new int[] { 2429, 2628 },
                new int[] { 1048, 1460 },
                new int[] { 1170, 2752 },
                new int[] { 1484, 372 },
                new int[] { 149, 571 },
                new int[] { 983, 1184 },
                new int[] { 2240, 2570 },
                new int[] { 199, 625 },
                new int[] { 2014, 975 },
                new int[] { 1215, 730 },
                new int[] { 1233, 2562 },
                new int[] { 1589, 457 },
                new int[] { 2392, 1592 },
                new int[] { 2925, 882 },
                new int[] { 25, 2940 },
                new int[] { 261, 836 },
                new int[] { 1806, 842 },
                new int[] { 1828, 262 },
                new int[] { 1776, 445 },
                new int[] { 1047, 98 },
                new int[] { 1196, 1624 },
                new int[] { 1316, 2965 },
                new int[] { 455, 1315 },
                new int[] { 2324, 727 },
                new int[] { 761, 1444 },
                new int[] { 500, 852 },
                new int[] { 1646, 2747 },
                new int[] { 2339, 1074 },
                new int[] { 919, 2837 },
                new int[] { 2993, 1869 },
                new int[] { 202, 2774 },
                new int[] { 2857, 2298 },
                new int[] { 1759, 605 },
                new int[] { 1408, 1722 },
                new int[] { 936, 1143 },
                new int[] { 540, 1385 },
                new int[] { 2770, 2769 },
                new int[] { 2281, 1136 },
                new int[] { 1672, 1138 },
                new int[] { 2862, 1692 },
                new int[] { 2729, 2369 },
                new int[] { 643, 1205 },
                new int[] { 911, 144 },
                new int[] { 288, 618 },
                new int[] { 2666, 2239 },
                new int[] { 1589, 2969 },
                new int[] { 2110, 655 },
                new int[] { 2522, 2775 },
                new int[] { 1227, 604 },
                new int[] { 979, 2606 },
                new int[] { 2797, 2395 },
                new int[] { 2053, 1465 },
                new int[] { 1765, 2688 },
                new int[] { 2349, 62 },
                new int[] { 866, 1912 },
                new int[] { 2670, 2018 },
                new int[] { 691, 683 },
                new int[] { 2358, 308 },
                new int[] { 1162, 2660 },
                new int[] { 170, 2666 },
                new int[] { 1641, 376 },
                new int[] { 1696, 1367 },
                new int[] { 231, 384 },
                new int[] { 2915, 875 },
                new int[] { 2675, 2499 },
                new int[] { 212, 2735 },
                new int[] { 1879, 1008 },
                new int[] { 2958, 2053 },
                new int[] { 544, 212 },
                new int[] { 605, 2281 },
                new int[] { 1390, 2014 },
                new int[] { 1559, 1218 },
                new int[] { 1194, 2222 },
                new int[] { 1533, 1881 },
                new int[] { 1863, 1736 },
                new int[] { 2746, 473 },
                new int[] { 2129, 481 },
                new int[] { 2340, 1229 },
                new int[] { 1394, 1040 },
                new int[] { 1736, 2567 },
                new int[] { 2442, 489 },
                new int[] { 2388, 1453 },
                new int[] { 226, 2027 },
                new int[] { 1512, 1514 },
                new int[] { 812, 2057 },
                new int[] { 526, 992 },
                new int[] { 1935, 1527 },
                new int[] { 1167, 793 },
                new int[] { 2236, 1763 },
                new int[] { 740, 1623 },
                new int[] { 619, 1777 },
                new int[] { 2118, 763 },
                new int[] { 2123, 19 },
                new int[] { 2026, 32 },
                new int[] { 1211, 697 },
                new int[] { 73, 916 },
                new int[] { 2847, 2372 },
                new int[] { 559, 1180 },
                new int[] { 2244, 1271 },
                new int[] { 1632, 2730 },
                new int[] { 1859, 2109 },
                new int[] { 2701, 2367 },
                new int[] { 2978, 1360 },
                new int[] { 288, 1940 },
                new int[] { 792, 356 },
                new int[] { 1530, 936 },
                new int[] { 891, 254 },
                new int[] { 2943, 57 },
                new int[] { 177, 1168 },
                new int[] { 2095, 1910 },
                new int[] { 1268, 2508 },
                new int[] { 95, 23 },
                new int[] { 2275, 838 },
                new int[] { 1754, 1002 },
                new int[] { 1634, 2616 },
                new int[] { 69, 2285 },
                new int[] { 1538, 1309 },
                new int[] { 1135, 1559 },
                new int[] { 2356, 1315 },
                new int[] { 2568, 1483 },
                new int[] { 2311, 2669 },
                new int[] { 174, 943 },
                new int[] { 669, 2851 },
                new int[] { 1976, 2820 },
                new int[] { 2526, 2874 },
                new int[] { 656, 2117 },
                new int[] { 227, 547 },
                new int[] { 945, 508 },
                new int[] { 2731, 355 },
                new int[] { 443, 11 },
                new int[] { 928, 1193 },
                new int[] { 911, 1104 },
                new int[] { 1760, 1363 },
                new int[] { 897, 2599 },
                new int[] { 810, 768 },
                new int[] { 1911, 2502 },
                new int[] { 1712, 2744 },
                new int[] { 449, 1172 },
                new int[] { 1189, 772 },
                new int[] { 2195, 956 },
                new int[] { 2938, 438 },
                new int[] { 810, 915 },
                new int[] { 2377, 2410 },
                new int[] { 1437, 766 },
                new int[] { 1804, 2212 },
                new int[] { 2880, 1635 },
                new int[] { 741, 2082 },
                new int[] { 2180, 1998 },
                new int[] { 635, 1480 },
                new int[] { 2709, 909 },
                new int[] { 1145, 2743 },
                new int[] { 761, 2922 },
                new int[] { 2117, 2770 },
                new int[] { 477, 1934 },
                new int[] { 838, 2609 },
                new int[] { 1531, 1891 },
                new int[] { 2553, 1820 },
                new int[] { 2819, 463 },
                new int[] { 1727, 637 },
                new int[] { 1401, 1363 },
                new int[] { 2652, 1603 },
                new int[] { 942, 1435 },
                new int[] { 1891, 2820 },
                new int[] { 759, 274 },
                new int[] { 796, 280 },
                new int[] { 580, 1767 },
                new int[] { 2929, 1671 },
                new int[] { 1072, 2595 },
                new int[] { 1952, 583 },
                new int[] { 1346, 1962 },
                new int[] { 2687, 2356 },
                new int[] { 928, 2499 },
                new int[] { 2427, 1071 },
                new int[] { 1928, 447 },
                new int[] { 2967, 1539 },
                new int[] { 1901, 2602 },
                new int[] { 2233, 1015 },
                new int[] { 1104, 166 },
                new int[] { 2696, 1837 },
                new int[] { 2573, 2289 },
                new int[] { 408, 881 },
                new int[] { 1574, 1855 },
                new int[] { 88, 25 },
                new int[] { 1655, 160 },
                new int[] { 2745, 2089 },
                new int[] { 2155, 903 },
                new int[] { 360, 1453 },
                new int[] { 2967, 906 },
                new int[] { 20, 1333 },
                new int[] { 1765, 2285 },
                new int[] { 2126, 1236 },
                new int[] { 2466, 345 },
                new int[] { 1427, 1245 },
                new int[] { 1106, 1636 },
                new int[] { 2459, 689 },
                new int[] { 242, 566 },
                new int[] { 2776, 1650 },
                new int[] { 2890, 1202 },
                new int[] { 1985, 2269 },
                new int[] { 2563, 2833 },
                new int[] { 2261, 1715 },
                new int[] { 559, 2412 },
                new int[] { 1371, 1338 },
                new int[] { 1686, 708 },
                new int[] { 1808, 29 },
                new int[] { 944, 1019 },
                new int[] { 852, 1661 },
                new int[] { 2098, 2032 },
                new int[] { 1787, 867 },
                new int[] { 2477, 608 },
                new int[] { 2098, 279 },
                new int[] { 400, 1405 },
                new int[] { 2170, 1705 },
                new int[] { 1135, 836 },
                new int[] { 870, 2092 },
                new int[] { 1339, 2071 },
                new int[] { 919, 1279 },
                new int[] { 1704, 1879 },
                new int[] { 686, 2482 },
                new int[] { 1500, 701 },
                new int[] { 239, 2148 },
                new int[] { 2324, 2179 },
                new int[] { 2560, 1501 },
                new int[] { 117, 2421 },
                new int[] { 298, 2481 },
                new int[] { 2664, 769 },
                new int[] { 752, 608 },
                new int[] { 2647, 2313 },
                new int[] { 1490, 734 },
                new int[] { 48, 2751 },
                new int[] { 1806, 1921 },
                new int[] { 2756, 315 },
                new int[] { 2105, 2459 },
                new int[] { 1062, 813 },
                new int[] { 364, 2856 },
                new int[] { 2689, 407 },
                new int[] { 1187, 2580 },
                new int[] { 2023, 2663 },
                new int[] { 682, 2132 },
                new int[] { 1280, 2985 },
                new int[] { 2356, 1307 },
                new int[] { 1602, 48 },
                new int[] { 173, 452 },
                new int[] { 2337, 942 },
                new int[] { 1106, 1318 },
                new int[] { 597, 813 },
                new int[] { 1446, 1973 },
                new int[] { 2846, 904 },
                new int[] { 730, 2033 },
                new int[] { 950, 1240 },
                new int[] { 620, 2804 },
                new int[] { 395, 5 },
                new int[] { 1212, 1391 },
                new int[] { 1581, 2961 },
                new int[] { 1317, 1943 },
                new int[] { 2930, 1003 },
                new int[] { 805, 707 },
                new int[] { 277, 1946 },
                new int[] { 775, 1007 },
                new int[] { 2654, 2254 },
                new int[] { 2885, 1105 },
                new int[] { 1154, 20 },
                new int[] { 578, 2710 },
                new int[] { 2114, 2627 },
                new int[] { 80, 1711 },
                new int[] { 1320, 1423 },
                new int[] { 1728, 288 },
                new int[] { 1220, 388 },
                new int[] { 2377, 2076 },
                new int[] { 817, 415 },
                new int[] { 797, 2945 },
                new int[] { 1653, 874 },
                new int[] { 1882, 352 },
                new int[] { 632, 2710 },
                new int[] { 1091, 369 },
                new int[] { 1162, 1609 },
                new int[] { 162, 688 },
                new int[] { 1231, 1717 },
                new int[] { 838, 1097 },
                new int[] { 1270, 1538 },
                new int[] { 1313, 2652 },
                new int[] { 530, 2265 },
                new int[] { 1408, 979 },
                new int[] { 301, 1822 },
                new int[] { 2754, 2531 },
                new int[] { 904, 161 },
                new int[] { 1201, 957 },
                new int[] { 747, 1066 },
                new int[] { 2248, 2394 },
                new int[] { 2501, 420 },
                new int[] { 2215, 762 },
                new int[] { 2665, 2095 },
                new int[] { 1311, 351 },
                new int[] { 2478, 2880 },
                new int[] { 708, 2645 },
                new int[] { 24, 2614 },
                new int[] { 1625, 828 },
                new int[] { 1992, 717 },
                new int[] { 889, 1540 },
                new int[] { 241, 1249 },
                new int[] { 971, 2074 },
                new int[] { 550, 2130 },
                new int[] { 2633, 1640 },
                new int[] { 2726, 575 },
                new int[] { 1962, 783 },
                new int[] { 2649, 514 },
                new int[] { 21, 1745 },
                new int[] { 2892, 1890 },
                new int[] { 2638, 330 },
                new int[] { 1344, 2413 },
                new int[] { 210, 2941 },
                new int[] { 2819, 2809 },
                new int[] { 2241, 2336 },
                new int[] { 1592, 606 },
                new int[] { 2706, 365 },
                new int[] { 1046, 91 },
                new int[] { 2342, 2389 },
                new int[] { 224, 844 },
                new int[] { 1159, 873 },
                new int[] { 1584, 1361 },
                new int[] { 2224, 1195 },
                new int[] { 101, 235 },
                new int[] { 2009, 1089 },
                new int[] { 1812, 740 },
                new int[] { 1002, 905 },
                new int[] { 759, 2527 },
                new int[] { 1879, 1692 },
                new int[] { 1476, 145 },
                new int[] { 791, 2624 },
                new int[] { 992, 1226 },
                new int[] { 1864, 1862 },
                new int[] { 481, 843 },
                new int[] { 2830, 609 },
                new int[] { 2520, 2309 },
                new int[] { 2716, 1251 },
                new int[] { 867, 2325 },
                new int[] { 1507, 296 },
                new int[] { 1423, 1874 },
                new int[] { 2869, 1931 },
                new int[] { 1684, 978 },
                new int[] { 2216, 633 },
                new int[] { 381, 2781 },
                new int[] { 2238, 1070 },
                new int[] { 1048, 1743 },
                new int[] { 2931, 239 },
                new int[] { 960, 2239 },
                new int[] { 2803, 2197 },
                new int[] { 1065, 288 },
                new int[] { 1263, 1613 },
                new int[] { 1052, 2334 },
                new int[] { 2594, 1928 },
                new int[] { 1880, 731 },
                new int[] { 919, 253 },
                new int[] { 458, 2380 },
                new int[] { 2995, 1935 },
                new int[] { 1614, 1696 },
                new int[] { 899, 113 },
                new int[] { 2489, 2550 },
                new int[] { 159, 1582 },
                new int[] { 1597, 1843 },
                new int[] { 2008, 459 },
                new int[] { 2270, 1032 },
                new int[] { 1522, 2951 },
                new int[] { 1201, 2104 },
                new int[] { 1626, 1259 },
                new int[] { 943, 668 },
                new int[] { 756, 2739 },
                new int[] { 1954, 1445 },
                new int[] { 1079, 1969 },
                new int[] { 614, 1664 },
                new int[] { 1437, 555 },
                new int[] { 1169, 1237 },
                new int[] { 1356, 701 },
                new int[] { 2253, 1280 },
                new int[] { 42, 703 },
                new int[] { 36, 2410 },
                new int[] { 887, 1361 },
                new int[] { 1027, 2880 },
                new int[] { 2835, 986 },
                new int[] { 503, 1576 },
                new int[] { 2059, 1524 },
                new int[] { 1868, 1080 },
                new int[] { 1371, 1693 },
                new int[] { 2330, 2421 },
                new int[] { 829, 1225 },
                new int[] { 2836, 1127 },
                new int[] { 2473, 1387 },
                new int[] { 1431, 1792 },
                new int[] { 1551, 1696 },
                new int[] { 1354, 2738 },
                new int[] { 2304, 1674 },
                new int[] { 1707, 1536 },
                new int[] { 382, 1494 },
                new int[] { 99, 220 },
                new int[] { 2832, 271 },
                new int[] { 682, 1275 },
                new int[] { 840, 1210 },
                new int[] { 5, 2820 },
                new int[] { 1615, 1184 },
                new int[] { 959, 905 },
                new int[] { 2853, 1400 },
                new int[] { 863, 1659 },
                new int[] { 50, 2878 },
                new int[] { 1065, 2297 },
                new int[] { 2818, 1648 },
                new int[] { 2791, 2965 },
                new int[] { 1049, 2712 },
                new int[] { 1101, 1148 },
                new int[] { 2140, 1633 },
                new int[] { 1799, 1963 },
                new int[] { 1361, 2671 },
                new int[] { 2832, 1739 },
                new int[] { 2468, 1363 },
                new int[] { 2129, 2101 },
                new int[] { 1631, 249 },
                new int[] { 2953, 58 },
                new int[] { 2888, 1897 },
                new int[] { 504, 1586 },
                new int[] { 2671, 318 },
                new int[] { 160, 1234 },
                new int[] { 245, 2858 },
                new int[] { 227, 1050 },
                new int[] { 180, 2340 },
                new int[] { 980, 2320 },
                new int[] { 1897, 2317 },
                new int[] { 2735, 2166 },
                new int[] { 2559, 2298 },
                new int[] { 1767, 1904 },
                new int[] { 1769, 2460 },
                new int[] { 2953, 357 },
                new int[] { 2548, 1841 },
                new int[] { 1925, 2654 },
                new int[] { 2888, 1166 },
                new int[] { 814, 2826 },
                new int[] { 1434, 2871 },
                new int[] { 1949, 2558 },
                new int[] { 1726, 2570 },
                new int[] { 373, 1322 },
                new int[] { 181, 108 },
                new int[] { 79, 241 },
                new int[] { 18, 1876 },
                new int[] { 654, 512 },
                new int[] { 2648, 105 },
                new int[] { 1289, 1325 },
                new int[] { 2679, 692 },
                new int[] { 2139, 1187 },
                new int[] { 1942, 629 },
                new int[] { 1434, 788 },
                new int[] { 2963, 2768 },
                new int[] { 645, 2388 },
                new int[] { 2841, 2644 },
                new int[] { 693, 1025 },
                new int[] { 89, 2428 },
                new int[] { 2202, 893 },
                new int[] { 2286, 2523 },
                new int[] { 1492, 2991 },
                new int[] { 1090, 59 },
                new int[] { 806, 2384 },
                new int[] { 1681, 644 },
                new int[] { 156, 785 },
                new int[] { 13, 184 },
                new int[] { 775, 2648 },
                new int[] { 353, 2961 },
                new int[] { 2440, 596 },
                new int[] { 1297, 2608 },
                new int[] { 1829, 358 },
                new int[] { 2893, 2372 },
                new int[] { 2322, 1979 },
                new int[] { 592, 1953 },
                new int[] { 2543, 267 },
                new int[] { 827, 970 },
                new int[] { 1926, 2840 },
                new int[] { 1041, 400 },
                new int[] { 1098, 323 },
                new int[] { 1281, 1141 },
                new int[] { 40, 1635 },
                new int[] { 588, 609 },
                new int[] { 1067, 2920 },
                new int[] { 2597, 1293 },
                new int[] { 298, 2586 },
                new int[] { 1450, 1495 },
                new int[] { 1375, 2238 },
                new int[] { 97, 459 },
                new int[] { 742, 1641 },
                new int[] { 2652, 2923 },
                new int[] { 2343, 1798 },
                new int[] { 796, 1344 },
                new int[] { 1103, 2592 },
                new int[] { 2314, 1836 },
                new int[] { 388, 1371 },
                new int[] { 1126, 1731 },
                new int[] { 176, 949 },
                new int[] { 115, 2420 },
                new int[] { 435, 2632 },
                new int[] { 2243, 515 },
                new int[] { 2689, 1527 },
                new int[] { 422, 569 },
                new int[] { 406, 1426 },
                new int[] { 2039, 2458 },
                new int[] { 781, 1278 },
                new int[] { 1557, 913 },
                new int[] { 969, 1382 },
                new int[] { 18, 1942 },
                new int[] { 832, 575 },
                new int[] { 2952, 2348 },
                new int[] { 1162, 2023 },
                new int[] { 2508, 651 },
                new int[] { 2494, 1182 },
                new int[] { 2626, 1962 },
                new int[] { 1253, 2288 },
                new int[] { 1840, 137 },
                new int[] { 1709, 2308 },
                new int[] { 121, 1287 },
                new int[] { 371, 2745 },
                new int[] { 2458, 178 },
                new int[] { 1470, 1691 },
                new int[] { 1994, 1061 },
                new int[] { 288, 2325 },
            }
                );

            Assert.AreEqual(288, result);
        }