mirror of
https://github.com/chylex/Brotli-Builder.git
synced 2024-12-22 16:42:46 +01:00
597 lines
50 KiB
C#
597 lines
50 KiB
C#
using System.Collections.Generic;
|
|
using BrotliLib.Brotli.Dictionary.Transform;
|
|
|
|
namespace BrotliImpl.Combined.Hashers{
|
|
public static class LimitedDictionary{
|
|
public static bool CanUseWord(int copyLength, int wordIndex, bool shallow){
|
|
return shallow ? ShallowDictionary.TryGetValue(copyLength, out var set1) && set1.Contains(wordIndex)
|
|
: FullDictionary.TryGetValue(copyLength, out var set2) && set2.Contains(wordIndex);
|
|
}
|
|
|
|
public static bool CanUseTransform(WordTransform transform){
|
|
if (transform.PrefixLength != 0 || transform.SuffixLength != 0){
|
|
return false;
|
|
}
|
|
|
|
var function = transform.Type;
|
|
return function == TransformType.Identity || (function >= TransformType.OmitLast1 && function <= TransformType.OmitLast9);
|
|
}
|
|
|
|
// Words
|
|
|
|
private static readonly Dictionary<int, HashSet<int>> ShallowDictionary = new Dictionary<int, HashSet<int>>{
|
|
{ 8, new HashSet<int>{
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 16, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
|
|
31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 44, 45, 46, 47, 48, 50, 51, 52, 55, 57, 58, 59, 60, 61,
|
|
64, 65, 67, 68, 70, 71, 73, 74, 75, 76, 79, 80, 82, 84, 85, 87, 91, 92, 93, 95, 97, 98, 99,
|
|
100, 101, 102, 103, 105, 108, 109, 110, 111, 113, 115, 116, 120, 122, 124, 126, 127, 128, 129,
|
|
130, 132, 135, 136, 139, 140, 142, 143, 145, 146, 151, 153, 154, 155, 156, 158, 159, 160, 163,
|
|
164, 165, 169, 173, 174, 177, 178, 179, 181, 182, 183, 184, 187, 189, 191, 193, 194, 196, 200,
|
|
201, 202, 203, 204, 205, 206, 210, 211, 212, 213, 216, 217, 218, 220, 221, 222, 223, 224, 225,
|
|
226, 228, 229, 232, 233, 235, 236, 240, 241, 242, 245, 246, 248, 249, 250, 251, 254, 255, 256,
|
|
261, 263, 264, 265, 266, 267, 268, 269, 271, 274, 278, 279, 280, 284, 285, 288, 291, 292, 293,
|
|
296, 297, 298, 299, 300, 303, 304, 305, 306, 308, 309, 310, 313, 314, 318, 319, 321, 323, 326,
|
|
332, 333, 337, 338, 341, 342, 344, 345, 351, 353, 354, 355, 356, 357, 358, 359, 362, 363, 364,
|
|
365, 366, 368, 370, 371, 373, 374, 377, 378, 384, 386, 387, 390, 391, 393, 394, 395, 396, 398,
|
|
399, 401, 402, 404, 406, 411, 413, 414, 417, 423, 425, 426, 427, 429, 433, 434, 436, 438, 440,
|
|
445, 447, 448, 449, 450, 452, 454, 455, 457, 460, 462, 464, 467, 470, 474, 475, 477, 478, 481,
|
|
482, 483, 485, 488, 491, 493, 494, 495, 497, 498, 500, 501, 502, 504, 505, 506, 507, 508, 509,
|
|
510, 511, 514, 515, 516, 517, 518, 521, 522, 523, 525, 526, 528, 529, 530, 531, 532, 533, 534,
|
|
535, 536, 537, 538, 539, 540, 542, 544, 545, 546, 547, 549, 550, 551, 553, 554, 555, 557, 558,
|
|
559, 560, 562, 565, 566, 569, 570, 571, 572, 574, 576, 577, 579, 583, 584, 587, 588, 590, 594,
|
|
595, 598, 600, 601, 602, 604, 606, 608, 610, 614, 615, 617, 618, 621, 625, 627, 628, 629, 633,
|
|
634, 635, 636, 637, 639, 640, 643, 644, 645, 646, 649, 651, 653, 655, 657, 665, 666, 667, 668,
|
|
669, 670, 671, 674, 676, 677, 680, 682, 683, 684, 685, 687, 688, 692, 695, 698, 699, 700, 701,
|
|
705, 707, 712, 714, 715, 716, 717, 718, 719, 720, 722, 723, 724, 725, 726, 730, 731, 732, 733,
|
|
734, 735, 736, 739, 741, 743, 744, 745, 746, 747, 748, 749, 750, 753, 760, 762, 763, 764, 766,
|
|
768, 769, 770, 772, 774, 775, 777, 778, 779, 780, 781, 782, 783, 785, 789, 790, 795, 796, 797,
|
|
798, 799, 801, 802, 804, 805, 810, 814, 819, 820, 822, 823, 825, 831, 833, 835, 836, 839, 840,
|
|
843, 845, 848, 849, 850, 860, 861, 862, 864, 865, 871, 872, 873, 874, 878, 879, 880, 888, 896,
|
|
898, 900, 902, 904, 906, 908, 909, 915, 921, 922, 929, 930, 932, 936, 937, 938, 941, 942, 943,
|
|
944, 946, 948, 951, 952, 953, 954, 955, 957, 959, 961, 962, 963, 964, 965, 966, 967, 968, 969,
|
|
970, 972, 973, 974, 975, 976, 977, 979, 981, 982, 983, 984, 986, 987, 988, 989, 990, 991, 992,
|
|
994, 995, 996, 1000, 1001, 1002, 1003, 1004, 1005, 1007, 1008, 1009, 1010, 1011, 1012, 1013,
|
|
1014, 1016, 1017, 1019, 1021, 1022, 1023
|
|
} },
|
|
|
|
{ 9, new HashSet<int>{
|
|
1, 3, 5, 6, 8, 9, 10, 13, 14, 15, 16, 17, 18, 19, 24, 25, 27, 28, 31, 32, 33, 34, 36, 37, 40,
|
|
42, 44, 45, 46, 47, 48, 50, 51, 52, 55, 56, 57, 58, 59, 62, 66, 67, 68, 69, 70, 72, 74, 75, 76,
|
|
80, 81, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 107, 108, 110, 112,
|
|
114, 117, 122, 124, 125, 128, 129, 130, 131, 132, 133, 136, 139, 140, 145, 147, 148, 151, 152,
|
|
154, 155, 157, 159, 161, 162, 164, 170, 173, 176, 177, 185, 188, 189, 191, 195, 197, 198, 200,
|
|
202, 205, 206, 208, 209, 211, 216, 218, 219, 224, 226, 227, 229, 232, 234, 237, 239, 245, 247,
|
|
249, 252, 254, 256, 257, 260, 261, 264, 269, 270, 271, 276, 279, 280, 282, 284, 287, 288, 289,
|
|
290, 297, 299, 301, 302, 303, 308, 309, 311, 313, 321, 326, 327, 332, 333, 337, 338, 340, 341,
|
|
342, 344, 345, 346, 347, 349, 351, 360, 362, 363, 365, 371, 374, 378, 385, 389, 393, 395, 396,
|
|
397, 401, 404, 405, 408, 409, 410, 413, 415, 417, 423, 424, 425, 426, 431, 433, 434, 437, 438,
|
|
440, 442, 443, 444, 445, 447, 448, 455, 458, 461, 463, 464, 469, 470, 472, 473, 476, 477, 483,
|
|
485, 488, 494, 495, 496, 497, 498, 500, 502, 504, 516, 517, 518, 519, 522, 527, 528, 530, 531,
|
|
534, 538, 539, 542, 545, 548, 549, 552, 555, 556, 560, 561, 562, 567, 575, 578, 580, 583, 588,
|
|
590, 592, 593, 597, 603, 604, 608, 613, 617, 619, 620, 621, 625, 628, 629, 630, 631, 632, 633,
|
|
635, 637, 639, 641, 642, 647, 649, 655, 659, 662, 667, 668, 672, 673, 676, 678, 680, 683, 684,
|
|
687, 691, 696, 699, 701, 702, 707, 708, 711, 713, 714, 719, 721, 722, 733, 734, 741, 745, 746,
|
|
748, 749, 752, 753, 756, 757, 758, 759, 767, 768, 770, 777, 779, 780, 785, 789, 790, 792, 797,
|
|
799, 800, 801, 803, 804, 805, 806, 807, 808, 809, 811, 812, 813, 814, 815, 816, 817, 818, 819,
|
|
820, 821, 822, 823, 824, 826, 827, 828, 829, 830, 831, 833, 834, 835, 836, 837, 841, 842, 843,
|
|
848, 849, 851, 852, 853, 854, 857, 859, 861, 862, 863, 867, 873, 874, 879, 883, 887, 891, 895,
|
|
898, 899, 900, 902, 906, 909, 913, 914, 916, 931, 936, 937, 938, 942, 960, 969, 977, 981, 982,
|
|
1002, 1006, 1008, 1009, 1014
|
|
} },
|
|
|
|
{ 10, new HashSet<int>{
|
|
2, 3, 5, 6, 7, 8, 10, 11, 12, 15, 17, 18, 19, 22, 28, 32, 33, 38, 39, 40, 41, 42, 43, 45, 47,
|
|
49, 52, 53, 54, 56, 62, 63, 65, 66, 67, 68, 69, 70, 71, 72, 73, 78, 84, 86, 87, 89, 90, 91, 94,
|
|
95, 96, 97, 101, 103, 104, 106, 107, 108, 109, 110, 111, 112, 113, 114, 120, 121, 123, 125,
|
|
127, 130, 131, 132, 135, 136, 137, 138, 140, 141, 142, 145, 147, 148, 150, 151, 152, 157, 158,
|
|
160, 161, 163, 168, 170, 174, 176, 178, 180, 183, 187, 188, 189, 191, 192, 195, 199, 200, 201,
|
|
202, 203, 205, 207, 209, 215, 219, 220, 221, 223, 224, 227, 231, 234, 237, 240, 241, 243, 246,
|
|
249, 250, 251, 252, 253, 255, 256, 261, 262, 265, 271, 272, 274, 277, 278, 280, 284, 285, 286,
|
|
287, 289, 294, 297, 298, 299, 301, 304, 308, 314, 316, 321, 323, 325, 327, 329, 331, 338, 341,
|
|
342, 345, 347, 348, 351, 352, 356, 357, 363, 365, 366, 367, 368, 369, 371, 372, 374, 381, 382,
|
|
388, 389, 390, 391, 393, 398, 400, 402, 405, 416, 429, 430, 432, 434, 435, 436, 437, 438, 440,
|
|
442, 443, 445, 447, 449, 450, 452, 454, 460, 461, 464, 465, 468, 472, 476, 477, 480, 482, 491,
|
|
493, 494, 495, 499, 500, 502, 503, 506, 507, 509, 510, 511, 515, 516, 520, 525, 526, 527, 528,
|
|
530, 531, 532, 535, 538, 539, 545, 546, 550, 553, 557, 558, 568, 579, 582, 586, 587, 589, 591,
|
|
594, 596, 601, 608, 617, 618, 624, 625, 630, 631, 633, 634, 637, 641, 643, 645, 650, 651, 654,
|
|
656, 657, 660, 661, 662, 665, 666, 671, 673, 676, 679, 690, 692, 702, 703, 704, 705, 706, 713,
|
|
718, 719, 721, 723, 725, 727, 735, 736, 737, 739, 747, 750, 751, 752, 755, 756, 757, 758, 761,
|
|
762, 764, 768, 771, 772, 774, 780, 786, 787, 788, 789, 790, 791, 794, 800, 803, 806, 809, 812,
|
|
824, 835, 839, 841, 843, 845, 847, 849, 851, 857, 860, 861, 863, 864, 865, 867, 871, 872, 877,
|
|
880, 881, 882, 887, 890, 892, 893, 895, 904, 906, 907, 908, 910, 916, 917, 918, 921, 924, 927,
|
|
930, 932, 934, 939, 946, 948, 949, 957, 960, 961, 963, 965, 966, 969, 971, 982, 983, 985, 986,
|
|
987, 989, 991, 992, 994, 998, 1004, 1010, 1016, 1021
|
|
} },
|
|
|
|
{ 11, new HashSet<int>{
|
|
0, 1, 2, 3, 4, 5, 7, 10, 11, 12, 13, 16, 17, 22, 23, 24, 26, 27, 28, 29, 30, 33, 34, 35, 36,
|
|
39, 41, 43, 45, 47, 50, 52, 54, 56, 60, 62, 63, 64, 66, 67, 68, 73, 75, 76, 77, 81, 86, 88, 91,
|
|
94, 96, 99, 100, 101, 102, 104, 106, 113, 114, 124, 125, 126, 128, 130, 131, 139, 142, 145,
|
|
152, 156, 160, 161, 163, 165, 168, 169, 170, 172, 174, 175, 176, 178, 181, 182, 184, 185, 186,
|
|
189, 190, 192, 193, 203, 204, 206, 208, 211, 216, 217, 219, 231, 233, 234, 238, 241, 249, 254,
|
|
256, 259, 263, 264, 265, 267, 271, 275, 276, 277, 278, 280, 282, 285, 286, 289, 292, 299, 300,
|
|
301, 308, 320, 321, 322, 323, 337, 338, 345, 356, 359, 361, 366, 369, 377, 379, 384, 386, 392,
|
|
393, 400, 412, 413, 414, 424, 428, 429, 435, 446, 452, 453, 461, 463, 464, 471, 479, 481, 486,
|
|
490, 492, 495, 498, 499, 508, 513, 522, 530, 533, 539, 541, 543, 544, 551, 556, 563, 565, 567,
|
|
573, 576, 586, 587, 595, 596, 609, 612, 618, 621, 623, 624, 625, 630, 638, 643, 644, 654, 659,
|
|
665, 669, 671, 673, 683, 690, 693, 694, 700, 701, 703, 704, 713, 717, 719, 729, 733, 737, 752,
|
|
757, 774, 781, 786, 791, 797, 802, 803, 805, 807, 814, 815, 820, 827, 830, 833, 842, 852, 858,
|
|
867, 871, 872, 887, 896, 897, 908, 917, 919, 923, 926, 934, 938, 941, 958, 964, 970, 977, 983,
|
|
985, 986, 990, 991, 992, 1000, 1003, 1009, 1011, 1013, 1015
|
|
} },
|
|
|
|
{ 12, new HashSet<int>{
|
|
0, 1, 2, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 18, 19, 23, 29, 32, 33, 35, 39, 40, 42, 43, 44,
|
|
45, 49, 54, 55, 56, 65, 66, 69, 71, 74, 77, 80, 82, 83, 87, 88, 91, 93, 94, 95, 97, 104, 106,
|
|
108, 116, 117, 119, 124, 125, 129, 132, 135, 141, 146, 147, 152, 153, 154, 159, 161, 163, 166,
|
|
168, 174, 175, 177, 178, 180, 185, 188, 194, 196, 203, 204, 207, 210, 211, 215, 221, 223, 224,
|
|
227, 230, 233, 234, 236, 238, 239, 241, 242, 250, 257, 258, 261, 268, 270, 271, 277, 280, 284,
|
|
285, 290, 295, 296, 300, 306, 307, 310, 314, 328, 330, 333, 343, 368, 376, 377, 383, 384, 388,
|
|
398, 399, 402, 409, 414, 419, 425, 427, 428, 441, 458, 459, 497, 498, 506, 513, 520, 521, 522,
|
|
523, 532, 540, 542, 547, 549, 554, 560, 563, 569, 574, 580, 581, 582, 609, 610, 612, 627, 628,
|
|
631, 632, 638, 644, 646, 650, 652, 653, 654, 655, 656, 657, 658, 659, 661, 665, 676, 687, 688,
|
|
693, 694, 695, 697, 699, 716, 721, 723, 724, 731, 733, 735, 736, 737, 739, 744, 745, 747, 751,
|
|
752, 754, 756, 758, 774, 779, 781, 790, 792, 793, 802, 844, 846, 849, 896, 955, 958, 960, 970,
|
|
988, 991, 994, 997, 1003, 1020, 1021
|
|
} },
|
|
|
|
{ 13, new HashSet<int>{
|
|
0, 2, 6, 7, 10, 11, 16, 18, 20, 23, 24, 31, 33, 35, 37, 38, 41, 45, 51, 52, 54, 64, 66, 70, 82,
|
|
83, 87, 94, 96, 97, 100, 104, 105, 106, 111, 117, 120, 122, 124, 126, 127, 128, 133, 148, 151,
|
|
158, 160, 168, 169, 174, 176, 180, 182, 185, 186, 191, 196, 214, 228, 230, 232, 245, 247, 260,
|
|
262, 273, 278, 282, 285, 290, 293, 298, 306, 314, 318, 335, 336, 345, 360, 366, 375, 378, 388,
|
|
399, 424, 441, 442, 462, 479, 481, 490, 496, 498, 504, 505, 509
|
|
} },
|
|
|
|
{ 14, new HashSet<int>{
|
|
0, 2, 3, 4, 10, 12, 14, 16, 19, 20, 21, 22, 23, 24, 26, 27, 29, 31, 35, 37, 42, 43, 44, 49, 51,
|
|
52, 66, 67, 68, 75, 76, 80, 81, 83, 94, 96, 98, 100, 103, 104, 107, 113, 116, 117, 118, 126,
|
|
127, 129, 134, 137, 140, 143, 149, 164, 171, 175, 189, 192, 201, 206, 211, 214, 216, 223, 231,
|
|
233, 241, 242, 254, 261, 278, 280, 283, 288, 291, 294, 299, 307, 314, 316, 323, 325, 329, 338,
|
|
343, 352, 369, 381, 394, 410, 419, 431, 432, 433, 451, 453, 458, 460, 464, 474, 505
|
|
} },
|
|
|
|
{ 15, new HashSet<int>{
|
|
0, 7, 8, 10, 20, 21, 24, 29, 31, 32, 35, 38, 39, 42, 55, 58, 66, 68, 78, 114, 115, 134, 135,
|
|
137, 142, 155, 156, 164, 192, 198, 208, 217
|
|
} },
|
|
|
|
{ 16, new HashSet<int>{
|
|
0, 1, 2, 3, 5, 7, 8, 9, 11, 13, 14, 16, 19, 21, 24, 26, 28, 32, 35, 36, 40, 41, 43, 49, 51, 53,
|
|
55, 57, 60, 65, 82, 95, 108, 111, 112
|
|
} },
|
|
|
|
{ 17, new HashSet<int>{
|
|
0, 6, 11, 16, 17, 18, 19, 22, 29, 32, 36, 37, 39, 45, 46, 49, 56, 57, 58, 61, 64, 67, 69, 73,
|
|
87, 88, 89, 91, 96, 101, 105, 114, 115, 116
|
|
} },
|
|
|
|
{ 18, new HashSet<int>{
|
|
0, 4, 5, 7, 9, 10, 12, 19, 23, 26, 31, 34, 37, 48, 57, 60, 73, 76, 80, 81, 87, 91, 92, 97, 102,
|
|
121, 126, 128, 130, 137, 144, 147, 149, 158, 159, 164, 165, 174, 178, 184, 195, 212, 216, 246
|
|
} },
|
|
|
|
{ 19, new HashSet<int>{
|
|
0, 1, 3, 4, 10, 13, 15, 16, 27, 31, 32, 53, 56, 59, 63, 65, 82, 83, 86, 94, 112, 117, 119, 121,
|
|
126
|
|
} },
|
|
|
|
{ 20, new HashSet<int>{
|
|
0, 2, 3, 7, 8, 13, 15, 21, 22, 24, 37, 38, 46, 47, 48, 49, 59, 61, 74, 79, 82, 100, 109, 111,
|
|
112, 116, 118, 119, 121
|
|
} },
|
|
|
|
{ 21, new HashSet<int>{
|
|
6, 7, 8, 13, 15, 20, 26, 35, 36, 37, 39
|
|
} },
|
|
|
|
{ 22, new HashSet<int>{
|
|
0, 5, 7, 8, 11, 13, 15, 16, 21, 23, 25, 26, 29, 33, 35, 37, 39, 40, 45, 46, 48, 49, 50, 53, 55,
|
|
56, 58, 61
|
|
} },
|
|
|
|
{ 23, new HashSet<int>{
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 25, 26, 28, 30
|
|
} },
|
|
|
|
{ 24, new HashSet<int>{
|
|
0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
|
|
} }
|
|
};
|
|
|
|
private static readonly Dictionary<int, HashSet<int>> FullDictionary = new Dictionary<int, HashSet<int>>{
|
|
{ 4, new HashSet<int>{
|
|
0, 2, 4, 5, 7, 8, 9, 10, 11, 14, 20, 31, 33, 34, 36, 37, 38, 40, 41, 42, 44, 45, 46, 47, 48,
|
|
49, 50, 52, 55, 56, 57, 60, 62, 63, 65, 66, 67, 70, 71, 73, 74, 75, 83, 84, 86, 87, 89, 96,
|
|
100, 101, 102, 103, 104, 107, 108, 109, 110, 112, 113, 114, 115, 116, 120, 123, 125, 126, 128,
|
|
130, 131, 132, 136, 137, 138, 139, 142, 143, 144, 146, 147, 148, 149, 151, 152, 153, 155, 156,
|
|
157, 158, 160, 162, 164, 165, 167, 168, 171, 172, 174, 176, 177, 178, 181, 188, 189, 191, 194,
|
|
195, 196, 197, 198, 199, 200, 201, 204, 205, 206, 210, 211, 212, 213, 215, 216, 218, 220, 222,
|
|
224, 225, 226, 228, 229, 232, 233, 234, 236, 237, 240, 241, 244, 247, 249, 250, 252, 256, 257,
|
|
259, 260, 263, 264, 266, 267, 268, 269, 271, 280, 286, 287, 288, 289, 290, 291, 293, 294, 298,
|
|
299, 300, 302, 303, 304, 305, 306, 307, 308, 309, 312, 314, 315, 317, 318, 319, 320, 321, 322,
|
|
323, 324, 325, 328, 329, 333, 335, 336, 338, 339, 340, 342, 343, 347, 348, 349, 350, 351, 352,
|
|
354, 358, 359, 360, 361, 363, 365, 366, 367, 368, 369, 370, 371, 372, 374, 375, 376, 377, 378,
|
|
381, 382, 383, 384, 385, 387, 389, 390, 391, 393, 394, 395, 397, 398, 400, 401, 407, 408, 410,
|
|
411, 414, 415, 416, 419, 420, 421, 422, 423, 424, 425, 426, 427, 429, 430, 431, 434, 435, 436,
|
|
437, 439, 441, 443, 444, 445, 446, 447, 448, 449, 450, 451, 454, 455, 458, 459, 460, 461, 462,
|
|
463, 464, 465, 466, 468, 469, 472, 473, 474, 476, 477, 478, 479, 481, 482, 483, 484, 486, 487,
|
|
488, 489, 490, 491, 493, 495, 497, 498, 499, 500, 501, 502, 504, 505, 507, 508, 509, 510, 513,
|
|
515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 528, 529, 533, 534, 535, 536, 537,
|
|
538, 539, 540, 541, 543, 544, 545, 546, 549, 550, 551, 552, 553, 554, 555, 556, 557, 559, 561,
|
|
562, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 578, 580, 581, 582, 583,
|
|
584, 585, 587, 588, 589, 590, 591, 592, 593, 594, 596, 597, 598, 600, 601, 602, 603, 604, 607,
|
|
608, 609, 610, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 628, 629, 631,
|
|
632, 633, 634, 635, 637, 638, 639, 641, 642, 643, 644, 645, 646, 647, 648, 649, 652, 653, 654,
|
|
656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 669, 670, 671, 672, 673, 674, 675,
|
|
676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 693, 694, 695, 696,
|
|
697, 698, 699, 700, 701, 702, 704, 705, 708, 709, 711, 712, 713, 715, 716, 717, 721, 722, 724,
|
|
725, 727, 728, 729, 730, 731, 732, 733, 735, 737, 738, 739, 740, 742, 743, 744, 748, 749, 750,
|
|
751, 752, 753, 754, 755, 756, 757, 759, 760, 761, 763, 764, 765, 766, 767, 768, 769, 770, 771,
|
|
772, 774, 775, 776, 777, 778, 779, 780, 782, 783, 786, 787, 788, 791, 792, 793, 794, 795, 796,
|
|
797, 798, 799, 800, 802, 803, 804, 805, 806, 807, 809, 810, 811, 812, 813, 814, 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, 855, 856, 858,
|
|
859, 860, 861, 862, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879,
|
|
880, 881, 882, 883, 885, 886, 887, 888, 889, 891, 893, 894, 895, 896, 897, 898, 899, 900, 901,
|
|
903, 904, 905, 906, 907, 909, 910, 912, 913, 916, 918, 919, 922, 924, 926, 927, 928, 930, 931,
|
|
932, 933, 935, 936, 938, 939, 941, 943, 947, 948, 949, 952, 954, 955, 956, 958, 959, 960, 961,
|
|
963, 964, 965, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 980, 981, 982, 983, 984,
|
|
989, 993, 994, 995, 998, 1000, 1002, 1003, 1006, 1007, 1009, 1012, 1013, 1014, 1015, 1017,
|
|
1018, 1020, 1021, 1022, 1023
|
|
} },
|
|
|
|
{ 5, new HashSet<int>{
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 23, 26, 27, 28, 29,
|
|
30, 31, 32, 33, 34, 35, 36, 39, 40, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 59,
|
|
62, 63, 64, 65, 66, 67, 68, 70, 75, 76, 77, 78, 79, 80, 81, 84, 86, 87, 88, 89, 92, 93, 97, 98,
|
|
99, 100, 101, 103, 105, 107, 108, 109, 111, 112, 114, 115, 116, 118, 122, 125, 126, 127, 129,
|
|
130, 131, 132, 133, 136, 138, 139, 142, 143, 145, 146, 148, 149, 150, 153, 154, 155, 156, 157,
|
|
160, 161, 162, 165, 166, 167, 169, 170, 172, 173, 175, 176, 178, 179, 181, 182, 184, 187, 188,
|
|
189, 190, 193, 194, 195, 196, 197, 198, 199, 200, 202, 203, 204, 205, 207, 210, 211, 212, 213,
|
|
214, 215, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 231, 232, 234, 235, 236,
|
|
237, 238, 239, 241, 242, 244, 245, 246, 247, 248, 249, 251, 253, 254, 256, 257, 258, 262, 263,
|
|
264, 266, 268, 270, 272, 273, 274, 277, 278, 279, 280, 281, 285, 287, 288, 289, 290, 291, 292,
|
|
293, 296, 298, 299, 300, 304, 305, 306, 307, 308, 309, 314, 319, 320, 321, 322, 325, 326, 327,
|
|
328, 329, 331, 332, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 348, 350, 351, 353, 354,
|
|
355, 356, 358, 360, 363, 364, 365, 366, 367, 369, 370, 371, 372, 373, 374, 375, 377, 378, 379,
|
|
381, 383, 384, 385, 387, 389, 391, 392, 393, 394, 395, 397, 398, 402, 403, 405, 406, 407, 410,
|
|
411, 412, 413, 414, 416, 417, 418, 419, 420, 421, 424, 425, 426, 428, 429, 431, 432, 433, 434,
|
|
435, 437, 438, 439, 441, 442, 444, 446, 448, 449, 450, 451, 452, 454, 455, 456, 457, 458, 460,
|
|
463, 466, 469, 470, 472, 473, 474, 476, 478, 481, 482, 484, 485, 486, 488, 492, 493, 494, 495,
|
|
496, 500, 502, 505, 506, 512, 513, 514, 515, 516, 517, 518, 519, 521, 522, 523, 524, 525, 526,
|
|
528, 529, 530, 531, 532, 534, 535, 536, 537, 538, 543, 545, 546, 549, 552, 553, 554, 555, 556,
|
|
557, 559, 560, 561, 562, 563, 564, 565, 566, 567, 571, 572, 575, 576, 577, 578, 579, 581, 585,
|
|
587, 589, 590, 591, 593, 594, 595, 597, 598, 599, 600, 601, 604, 606, 609, 610, 611, 612, 613,
|
|
614, 615, 617, 618, 619, 620, 621, 624, 625, 627, 629, 630, 631, 632, 637, 640, 641, 645, 646,
|
|
649, 651, 654, 655, 657, 659, 663, 664, 665, 666, 668, 670, 671, 672, 673, 674, 675, 677, 678,
|
|
679, 680, 681, 684, 686, 692, 693, 694, 696, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711,
|
|
712, 714, 715, 716, 717, 719, 721, 722, 723, 724, 726, 728, 729, 731, 732, 733, 734, 737, 738,
|
|
739, 740, 741, 743, 745, 746, 747, 749, 750, 751, 754, 755, 757, 758, 759, 761, 762, 763, 764,
|
|
765, 766, 767, 768, 770, 773, 775, 778, 779, 784, 785, 787, 788, 791, 792, 793, 795, 797, 798,
|
|
799, 801, 802, 803, 808, 812, 815, 816, 818, 820, 821, 822, 825, 826, 827, 828, 830, 831, 834,
|
|
837, 838, 840, 843, 844, 846, 847, 850, 851, 852, 853, 854, 855, 856, 860, 862, 864, 865, 866,
|
|
868, 869, 874, 875, 877, 881, 882, 883, 884, 887, 888, 889, 890, 894, 896, 902, 903, 905, 906,
|
|
907, 911, 912, 918, 920, 921, 922, 923, 924, 925, 928, 931, 933, 934, 937, 939, 941, 943, 946,
|
|
948, 950, 953, 954, 955, 957, 958, 959, 960, 962, 964, 965, 967, 972, 973, 974, 976, 978, 979,
|
|
980, 981, 982, 984, 985, 989, 990, 992, 993, 995, 997, 999, 1000, 1001, 1002, 1005, 1006, 1007,
|
|
1009, 1010, 1012, 1013, 1015, 1016, 1019, 1020, 1021
|
|
} },
|
|
|
|
{ 6, new HashSet<int>{
|
|
0, 1, 2, 5, 6, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 26, 27, 28, 29, 30,
|
|
32, 33, 34, 36, 37, 38, 39, 41, 42, 43, 44, 45, 47, 49, 51, 52, 55, 57, 58, 59, 60, 63, 64, 65,
|
|
66, 67, 68, 69, 71, 72, 75, 76, 78, 79, 80, 83, 84, 85, 87, 90, 91, 92, 93, 95, 96, 97, 98, 99,
|
|
100, 102, 104, 107, 109, 110, 113, 114, 116, 118, 119, 120, 121, 122, 123, 125, 126, 127, 129,
|
|
131, 132, 133, 134, 137, 138, 141, 144, 145, 146, 147, 148, 149, 151, 152, 153, 155, 159, 160,
|
|
161, 162, 164, 165, 167, 169, 170, 171, 173, 174, 175, 177, 178, 179, 180, 182, 185, 186, 189,
|
|
191, 192, 193, 195, 196, 197, 198, 201, 202, 205, 208, 209, 210, 214, 216, 217, 218, 219, 220,
|
|
222, 223, 225, 226, 227, 228, 230, 231, 233, 234, 237, 239, 240, 241, 242, 247, 248, 249, 252,
|
|
253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 265, 266, 267, 268, 270, 271, 272, 273,
|
|
275, 277, 278, 280, 282, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 299,
|
|
300, 304, 306, 307, 308, 309, 310, 311, 312, 313, 314, 318, 319, 320, 322, 323, 324, 325, 326,
|
|
327, 328, 329, 330, 331, 332, 333, 340, 343, 344, 345, 346, 347, 348, 352, 353, 355, 358, 359,
|
|
360, 366, 367, 368, 370, 372, 377, 379, 380, 382, 385, 386, 387, 388, 389, 391, 393, 395, 396,
|
|
398, 403, 404, 406, 408, 409, 412, 413, 415, 417, 418, 419, 424, 426, 428, 430, 431, 432, 436,
|
|
441, 442, 443, 444, 445, 447, 448, 449, 450, 452, 453, 454, 456, 460, 461, 463, 464, 465, 466,
|
|
467, 471, 472, 473, 474, 475, 477, 479, 480, 481, 482, 483, 484, 488, 490, 491, 492, 494, 496,
|
|
498, 501, 502, 503, 504, 505, 506, 507, 508, 509, 511, 513, 515, 516, 518, 519, 521, 524, 525,
|
|
528, 531, 532, 539, 540, 541, 543, 545, 547, 549, 550, 551, 552, 553, 555, 556, 558, 559, 560,
|
|
561, 563, 565, 567, 570, 573, 574, 575, 577, 578, 579, 582, 583, 584, 585, 587, 588, 589, 590,
|
|
591, 592, 593, 595, 599, 604, 605, 606, 607, 608, 609, 610, 613, 616, 617, 618, 621, 622, 623,
|
|
624, 625, 626, 627, 628, 629, 630, 631, 633, 634, 635, 636, 637, 640, 641, 642, 643, 644, 645,
|
|
646, 647, 648, 649, 650, 652, 653, 654, 656, 658, 659, 660, 662, 664, 666, 667, 671, 672, 674,
|
|
676, 677, 678, 679, 680, 681, 684, 685, 686, 687, 688, 689, 690, 691, 692, 695, 696, 697, 698,
|
|
699, 700, 702, 703, 704, 708, 709, 710, 711, 712, 713, 714, 715, 716, 718, 720, 721, 723, 724,
|
|
727, 728, 729, 730, 731, 733, 734, 735, 736, 737, 738, 740, 741, 744, 747, 748, 749, 751, 753,
|
|
754, 755, 756, 757, 758, 759, 761, 762, 763, 764, 765, 769, 770, 771, 772, 773, 774, 775, 777,
|
|
778, 779, 781, 784, 785, 786, 787, 788, 790, 791, 792, 794, 795, 797, 799, 801, 803, 804, 805,
|
|
806, 807, 810, 815, 818, 819, 820, 823, 824, 825, 826, 827, 828, 830, 831, 832, 833, 834, 835,
|
|
836, 837, 839, 841, 843, 846, 847, 848, 849, 851, 853, 855, 856, 857, 858, 859, 860, 861, 862,
|
|
863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 878, 879, 880, 882, 883, 885, 886,
|
|
888, 890, 892, 893, 895, 896, 897, 898, 900, 901, 902, 903, 905, 907, 908, 910, 911, 913, 914,
|
|
916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 928, 929, 930, 933, 935, 936, 937, 938,
|
|
939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 952, 954, 957, 958, 959, 960, 962,
|
|
965, 966, 967, 968, 973, 974, 975, 977, 978, 979, 980, 981, 984, 988, 990, 991, 992, 995, 997,
|
|
999, 1001, 1003, 1004, 1005, 1007, 1011, 1012, 1013, 1014, 1016, 1017, 1018, 1022, 1024, 1025,
|
|
1027, 1028, 1029, 1030, 1031, 1033, 1034, 1035, 1036, 1037, 1038, 1040, 1043, 1045, 1048, 1049,
|
|
1050, 1052, 1054, 1055, 1056, 1057, 1058, 1059, 1061, 1064, 1065, 1066, 1068, 1070, 1071, 1072,
|
|
1073, 1074, 1075, 1078, 1079, 1081, 1082, 1083, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1093,
|
|
1094, 1096, 1097, 1098, 1099, 1100, 1101, 1103, 1105, 1107, 1108, 1110, 1113, 1114, 1115, 1116,
|
|
1117, 1118, 1119, 1123, 1125, 1127, 1128, 1129, 1130, 1131, 1133, 1135, 1136, 1138, 1139, 1140,
|
|
1142, 1144, 1145, 1146, 1148, 1150, 1152, 1154, 1155, 1157, 1159, 1160, 1162, 1163, 1164, 1166,
|
|
1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1179, 1185, 1186, 1187, 1188, 1189, 1190,
|
|
1193, 1197, 1198, 1199, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1211, 1212, 1213, 1216,
|
|
1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1229, 1231, 1232, 1233, 1234, 1235,
|
|
1236, 1237, 1239, 1243, 1244, 1245, 1246, 1247, 1249, 1251, 1254, 1255, 1256, 1258, 1261, 1262,
|
|
1263, 1264, 1265, 1267, 1268, 1269, 1270, 1271, 1273, 1275, 1276, 1277, 1278, 1279, 1280, 1281,
|
|
1282, 1284, 1285, 1286, 1287, 1294, 1296, 1298, 1299, 1300, 1301, 1303, 1306, 1308, 1309, 1311,
|
|
1312, 1313, 1314, 1315, 1317, 1320, 1321, 1322, 1323, 1324, 1326, 1327, 1330, 1332, 1334, 1336,
|
|
1338, 1339, 1340, 1341, 1342, 1345, 1346, 1348, 1349, 1350, 1351, 1352, 1354, 1356, 1357, 1358,
|
|
1360, 1361, 1363, 1364, 1367, 1368, 1370, 1372, 1373, 1374, 1375, 1376, 1377, 1378, 1382, 1383,
|
|
1386, 1387, 1388, 1389, 1390, 1392, 1393, 1394, 1396, 1397, 1401, 1402, 1403, 1404, 1407, 1409,
|
|
1410, 1411, 1412, 1414, 1418, 1419, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431,
|
|
1432, 1433, 1435, 1436, 1437, 1438, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1452, 1453,
|
|
1454, 1455, 1460, 1461, 1463, 1464, 1466, 1467, 1468, 1469, 1470, 1471, 1473, 1474, 1475, 1478,
|
|
1479, 1480, 1482, 1483, 1484, 1486, 1488, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498,
|
|
1500, 1501, 1502, 1504, 1506, 1507, 1509, 1510, 1511, 1512, 1514, 1515, 1516, 1518, 1519, 1520,
|
|
1521, 1522, 1523, 1524, 1525, 1528, 1529, 1531, 1534, 1535, 1536, 1539, 1540, 1541, 1543, 1546,
|
|
1547, 1548, 1550, 1552, 1553, 1556, 1557, 1558, 1559, 1564, 1565, 1568, 1569, 1570, 1571, 1572,
|
|
1573, 1575, 1580, 1581, 1582, 1583, 1584, 1585, 1587, 1590, 1591, 1593, 1594, 1595, 1598, 1599,
|
|
1600, 1601, 1602, 1603, 1606, 1607, 1608, 1609, 1610, 1612, 1613, 1614, 1615, 1616, 1617, 1620,
|
|
1622, 1623, 1624, 1625, 1627, 1628, 1629, 1630, 1636, 1639, 1641, 1643, 1645, 1647, 1648, 1650,
|
|
1652, 1653, 1654, 1657, 1658, 1659, 1660, 1661, 1666, 1667, 1668, 1669, 1674, 1683, 1685, 1689,
|
|
1693, 1703, 1704, 1705, 1706, 1709, 1710, 1712, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723,
|
|
1724, 1728, 1729, 1730, 1736, 1739, 1740, 1742, 1743, 1744, 1745, 1746, 1747, 1749, 1751, 1752,
|
|
1753, 1758, 1759, 1761, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771, 1773, 1774, 1775, 1782,
|
|
1785, 1786, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1799, 1800, 1802, 1803, 1804, 1805, 1806,
|
|
1807, 1808, 1809, 1810, 1811, 1812, 1813, 1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823,
|
|
1824, 1826, 1827, 1828, 1829, 1831, 1832, 1833, 1839, 1840, 1842, 1843, 1844, 1846, 1848, 1854,
|
|
1860, 1863, 1865, 1868, 1871, 1872, 1878, 1880, 1883, 1885, 1886, 1888, 1889, 1891, 1895, 1900,
|
|
1905, 1909, 1910, 1913, 1916, 1917, 1921, 1922, 1928, 1929, 1930, 1931, 1935, 1936, 1937, 1939,
|
|
1940, 1941, 1943, 1944, 1947, 1948, 1949, 1950, 1951, 1952, 1953, 1954, 1955, 1960, 1961, 1963,
|
|
1964, 1968, 1969, 1972, 1975, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1988, 1991,
|
|
1993, 1994, 1997, 2001, 2002, 2005, 2006, 2008, 2009, 2010, 2011, 2012, 2015, 2016, 2017, 2018,
|
|
2020, 2023, 2024, 2026, 2028, 2031, 2034, 2036, 2041, 2043, 2044, 2045, 2046, 2047
|
|
} },
|
|
|
|
{ 7, new HashSet<int>{
|
|
0, 2, 4, 6, 8, 9, 10, 11, 13, 14, 15, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
33, 34, 36, 37, 39, 41, 42, 44, 45, 47, 48, 49, 50, 51, 52, 54, 56, 57, 59, 61, 62, 63, 64, 65,
|
|
68, 73, 75, 76, 77, 80, 83, 85, 86, 87, 88, 89, 91, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102,
|
|
103, 105, 107, 108, 112, 114, 115, 121, 122, 123, 124, 125, 126, 127, 131, 132, 133, 135, 137,
|
|
139, 141, 144, 145, 148, 150, 151, 154, 155, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
|
|
167, 168, 170, 171, 172, 174, 175, 176, 180, 183, 184, 185, 188, 189, 192, 193, 194, 196, 197,
|
|
198, 199, 202, 204, 205, 208, 213, 216, 217, 219, 222, 226, 228, 229, 235, 236, 237, 238, 239,
|
|
241, 242, 243, 246, 248, 249, 250, 251, 253, 254, 255, 257, 260, 261, 262, 264, 266, 267, 268,
|
|
271, 273, 274, 276, 278, 281, 282, 285, 287, 288, 289, 290, 291, 296, 298, 300, 301, 302, 304,
|
|
306, 308, 309, 314, 317, 320, 321, 322, 323, 327, 328, 329, 330, 332, 336, 337, 339, 341, 344,
|
|
345, 347, 348, 349, 351, 352, 354, 355, 356, 357, 359, 360, 362, 364, 365, 366, 369, 370, 371,
|
|
373, 378, 379, 386, 388, 389, 390, 391, 393, 394, 395, 396, 397, 399, 404, 405, 409, 410, 411,
|
|
412, 414, 416, 418, 420, 421, 423, 424, 429, 430, 431, 432, 434, 438, 439, 440, 441, 445, 447,
|
|
449, 454, 455, 456, 457, 459, 460, 461, 462, 463, 464, 465, 466, 469, 474, 475, 476, 477, 479,
|
|
480, 481, 483, 484, 486, 488, 490, 492, 493, 496, 497, 501, 503, 506, 508, 510, 512, 518, 520,
|
|
523, 527, 530, 533, 537, 538, 540, 541, 544, 546, 548, 549, 550, 551, 555, 556, 558, 560, 562,
|
|
564, 566, 567, 568, 570, 572, 576, 579, 580, 581, 585, 588, 592, 594, 595, 597, 601, 602, 605,
|
|
606, 607, 610, 612, 615, 616, 617, 619, 622, 625, 630, 631, 634, 642, 643, 645, 647, 648, 652,
|
|
654, 655, 663, 665, 666, 669, 671, 673, 679, 681, 683, 685, 688, 690, 693, 695, 705, 706, 707,
|
|
708, 709, 712, 714, 716, 717, 718, 719, 720, 721, 724, 725, 726, 727, 728, 730, 731, 733, 734,
|
|
735, 736, 737, 738, 739, 740, 741, 742, 746, 747, 748, 750, 755, 759, 761, 764, 766, 767, 768,
|
|
773, 776, 777, 778, 783, 784, 785, 786, 787, 788, 789, 790, 792, 795, 796, 798, 799, 800, 801,
|
|
803, 808, 809, 810, 812, 814, 817, 818, 819, 820, 821, 823, 824, 826, 828, 829, 831, 832, 833,
|
|
835, 841, 844, 847, 848, 850, 852, 855, 856, 857, 858, 860, 865, 869, 871, 872, 873, 875, 876,
|
|
877, 878, 880, 881, 883, 884, 885, 887, 889, 890, 892, 893, 895, 896, 897, 898, 899, 900, 902,
|
|
908, 909, 910, 912, 913, 915, 916, 922, 923, 925, 926, 929, 930, 933, 934, 935, 937, 938, 943,
|
|
944, 945, 950, 952, 954, 955, 957, 958, 959, 961, 963, 965, 967, 968, 969, 972, 973, 975, 976,
|
|
980, 981, 982, 983, 984, 986, 988, 989, 992, 993, 994, 997, 1003, 1005, 1006, 1010, 1014, 1018,
|
|
1020, 1030, 1031, 1034, 1035, 1038, 1041, 1044, 1046, 1047, 1048, 1050, 1053, 1059, 1061, 1063,
|
|
1064, 1066, 1070, 1073, 1075, 1076, 1077, 1078, 1081, 1086, 1091, 1093, 1094, 1099, 1100, 1102,
|
|
1104, 1107, 1109, 1110, 1111, 1112, 1113, 1114, 1116, 1117, 1119, 1120, 1121, 1123, 1124, 1125,
|
|
1127, 1128, 1131, 1134, 1135, 1142, 1144, 1145, 1146, 1147, 1148, 1149, 1156, 1157, 1159, 1160,
|
|
1162, 1163, 1165, 1167, 1173, 1176, 1180, 1182, 1183, 1186, 1189, 1190, 1191, 1192, 1193, 1194,
|
|
1196, 1197, 1198, 1204, 1205, 1208, 1214, 1215, 1216, 1217, 1218, 1227, 1228, 1229, 1230, 1231,
|
|
1232, 1233, 1235, 1236, 1237, 1238, 1243, 1245, 1246, 1248, 1249, 1251, 1255, 1259, 1260, 1265,
|
|
1266, 1268, 1270, 1271, 1272, 1273, 1275, 1276, 1283, 1286, 1287, 1290, 1291, 1292, 1294, 1296,
|
|
1297, 1302, 1304, 1305, 1306, 1307, 1309, 1310, 1312, 1315, 1316, 1318, 1319, 1331, 1333, 1334,
|
|
1335, 1336, 1338, 1344, 1345, 1346, 1350, 1351, 1353, 1356, 1361, 1367, 1368, 1371, 1372, 1373,
|
|
1374, 1376, 1381, 1382, 1383, 1385, 1388, 1390, 1392, 1394, 1395, 1396, 1397, 1399, 1400, 1405,
|
|
1406, 1408, 1409, 1411, 1414, 1417, 1418, 1420, 1425, 1428, 1429, 1431, 1432, 1433, 1435, 1440,
|
|
1441, 1442, 1443, 1445, 1446, 1447, 1448, 1451, 1454, 1458, 1461, 1462, 1464, 1467, 1470, 1471,
|
|
1472, 1485, 1486, 1487, 1489, 1492, 1493, 1495, 1504, 1510, 1513, 1514, 1517, 1518, 1523, 1525,
|
|
1526, 1527, 1528, 1529, 1530, 1537, 1539, 1546, 1551, 1553, 1557, 1558, 1559, 1560, 1563, 1566,
|
|
1570, 1573, 1575, 1577, 1578, 1579, 1580, 1586, 1591, 1595, 1596, 1597, 1598, 1602, 1603, 1608,
|
|
1611, 1614, 1616, 1621, 1622, 1625, 1626, 1635, 1639, 1641, 1642, 1644, 1645, 1646, 1649, 1652,
|
|
1655, 1656, 1665, 1668, 1672, 1673, 1675, 1676, 1678, 1679, 1680, 1683, 1684, 1690, 1692, 1694,
|
|
1696, 1703, 1704, 1707, 1709, 1712, 1718, 1719, 1723, 1726, 1728, 1730, 1733, 1734, 1735, 1739,
|
|
1741, 1743, 1746, 1747, 1748, 1749, 1756, 1757, 1758, 1759, 1761, 1762, 1763, 1764, 1767, 1768,
|
|
1771, 1772, 1773, 1774, 1776, 1777, 1779, 1781, 1783, 1784, 1785, 1787, 1788, 1789, 1793, 1794,
|
|
1796, 1798, 1802, 1809, 1811, 1812, 1814, 1815, 1820, 1823, 1826, 1830, 1831, 1832, 1836, 1837,
|
|
1838, 1840, 1842, 1845, 1846, 1847, 1848, 1852, 1853, 1855, 1857, 1861, 1862, 1864, 1865, 1868,
|
|
1871, 1874, 1875, 1877, 1878, 1880, 1882, 1884, 1887, 1888, 1890, 1898, 1901, 1906, 1911, 1912,
|
|
1919, 1920, 1922, 1925, 1927, 1929, 1930, 1931, 1932, 1933, 1935, 1937, 1940, 1941, 1943, 1945,
|
|
1946, 1947, 1949, 1950, 1951, 1952, 1953, 1955, 1957, 1958, 1959, 1961, 1964, 1968, 1970, 1971,
|
|
1978, 1979, 1983, 1985, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2001, 2002, 2004, 2006, 2007,
|
|
2014, 2015, 2023, 2028, 2029, 2032, 2035, 2039, 2044, 2046
|
|
} },
|
|
|
|
{ 8, new HashSet<int>{
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 16, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
|
|
31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 44, 45, 46, 47, 48, 50, 51, 52, 55, 57, 58, 59, 60, 61,
|
|
64, 65, 67, 68, 70, 71, 73, 74, 75, 76, 79, 80, 82, 84, 85, 87, 91, 92, 93, 95, 97, 98, 99,
|
|
100, 101, 102, 103, 105, 108, 109, 110, 111, 113, 115, 116, 120, 122, 124, 126, 127, 128, 129,
|
|
130, 132, 135, 136, 139, 140, 142, 143, 145, 146, 151, 153, 154, 155, 156, 158, 159, 160, 163,
|
|
164, 165, 169, 173, 174, 177, 178, 179, 181, 182, 183, 184, 187, 189, 191, 193, 194, 196, 200,
|
|
201, 202, 203, 204, 205, 206, 210, 211, 212, 213, 216, 217, 218, 220, 221, 222, 223, 224, 225,
|
|
226, 228, 229, 232, 233, 235, 236, 240, 241, 242, 245, 246, 248, 249, 250, 251, 254, 255, 256,
|
|
261, 263, 264, 265, 266, 267, 268, 269, 271, 274, 278, 279, 280, 284, 285, 288, 291, 292, 293,
|
|
296, 297, 298, 299, 300, 303, 304, 305, 306, 308, 309, 310, 313, 314, 318, 319, 321, 323, 326,
|
|
332, 333, 337, 338, 341, 342, 344, 345, 351, 353, 354, 355, 356, 357, 358, 359, 362, 363, 364,
|
|
365, 366, 368, 370, 371, 373, 374, 377, 378, 384, 386, 387, 390, 391, 393, 394, 395, 396, 398,
|
|
399, 401, 402, 404, 406, 411, 413, 414, 417, 423, 425, 426, 427, 429, 433, 434, 436, 438, 440,
|
|
445, 447, 448, 449, 450, 452, 454, 455, 457, 460, 462, 464, 467, 470, 474, 475, 477, 478, 481,
|
|
482, 483, 485, 488, 491, 493, 494, 495, 497, 498, 500, 501, 502, 504, 505, 506, 507, 508, 509,
|
|
510, 511, 514, 515, 516, 517, 518, 521, 522, 523, 525, 526, 528, 529, 530, 531, 532, 533, 534,
|
|
535, 536, 537, 538, 539, 540, 542, 544, 545, 546, 547, 549, 550, 551, 553, 554, 555, 557, 558,
|
|
559, 560, 562, 565, 566, 569, 570, 571, 572, 574, 576, 577, 579, 583, 584, 587, 588, 590, 594,
|
|
595, 598, 600, 601, 602, 604, 606, 608, 610, 614, 615, 617, 618, 621, 625, 627, 628, 629, 633,
|
|
634, 635, 636, 637, 639, 640, 643, 644, 645, 646, 649, 651, 653, 655, 657, 665, 666, 667, 668,
|
|
669, 670, 671, 674, 676, 677, 680, 682, 683, 684, 685, 687, 688, 692, 695, 698, 699, 700, 701,
|
|
705, 707, 712, 714, 715, 716, 717, 718, 719, 720, 722, 723, 724, 725, 726, 730, 731, 732, 733,
|
|
734, 735, 736, 739, 741, 743, 744, 745, 746, 747, 748, 749, 750, 753, 760, 762, 763, 764, 766,
|
|
768, 769, 770, 772, 774, 775, 777, 778, 779, 780, 781, 782, 783, 785, 789, 790, 795, 796, 797,
|
|
798, 799, 801, 802, 804, 805, 810, 814, 819, 820, 822, 823, 825, 831, 833, 835, 836, 839, 840,
|
|
843, 845, 848, 849, 850, 860, 861, 862, 864, 865, 871, 872, 873, 874, 878, 879, 880, 888, 896,
|
|
898, 900, 902, 904, 906, 908, 909, 915, 921, 922, 929, 930, 932, 936, 937, 938, 941, 942, 943,
|
|
944, 946, 948, 951, 952, 953, 954, 955, 957, 959, 961, 962, 963, 964, 965, 966, 967, 968, 969,
|
|
970, 972, 973, 974, 975, 976, 977, 979, 981, 982, 983, 984, 986, 987, 988, 989, 990, 991, 992,
|
|
994, 995, 996, 1000, 1001, 1002, 1003, 1004, 1005, 1007, 1008, 1009, 1010, 1011, 1012, 1013,
|
|
1014, 1016, 1017, 1019, 1021, 1022, 1023
|
|
} },
|
|
|
|
{ 9, new HashSet<int>{
|
|
1, 3, 5, 6, 8, 9, 10, 13, 14, 15, 16, 17, 18, 19, 24, 25, 27, 28, 31, 32, 33, 34, 36, 37, 40,
|
|
42, 44, 45, 46, 47, 48, 50, 51, 52, 55, 56, 57, 58, 59, 62, 66, 67, 68, 69, 70, 72, 74, 75, 76,
|
|
80, 81, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 107, 108, 110, 112,
|
|
114, 117, 122, 124, 125, 128, 129, 130, 131, 132, 133, 136, 139, 140, 145, 147, 148, 151, 152,
|
|
154, 155, 157, 159, 161, 162, 164, 170, 173, 176, 177, 185, 188, 189, 191, 195, 197, 198, 200,
|
|
202, 205, 206, 208, 209, 211, 216, 218, 219, 224, 226, 227, 229, 232, 234, 237, 239, 245, 247,
|
|
249, 252, 254, 256, 257, 260, 261, 264, 269, 270, 271, 276, 279, 280, 282, 284, 287, 288, 289,
|
|
290, 297, 299, 301, 302, 303, 308, 309, 311, 313, 321, 326, 327, 332, 333, 337, 338, 340, 341,
|
|
342, 344, 345, 346, 347, 349, 351, 360, 362, 363, 365, 371, 374, 378, 385, 389, 393, 395, 396,
|
|
397, 401, 404, 405, 408, 409, 410, 413, 415, 417, 423, 424, 425, 426, 431, 433, 434, 437, 438,
|
|
440, 442, 443, 444, 445, 447, 448, 455, 458, 461, 463, 464, 469, 470, 472, 473, 476, 477, 483,
|
|
485, 488, 494, 495, 496, 497, 498, 500, 502, 504, 516, 517, 518, 519, 522, 527, 528, 530, 531,
|
|
534, 538, 539, 542, 545, 548, 549, 552, 555, 556, 560, 561, 562, 567, 575, 578, 580, 583, 588,
|
|
590, 592, 593, 597, 603, 604, 608, 613, 617, 619, 620, 621, 625, 628, 629, 630, 631, 632, 633,
|
|
635, 637, 639, 641, 642, 647, 649, 655, 659, 662, 667, 668, 672, 673, 676, 678, 680, 683, 684,
|
|
687, 691, 696, 699, 701, 702, 707, 708, 711, 713, 714, 719, 721, 722, 733, 734, 741, 745, 746,
|
|
748, 749, 752, 753, 756, 757, 758, 759, 767, 768, 770, 777, 779, 780, 785, 789, 790, 792, 797,
|
|
799, 800, 801, 803, 804, 805, 806, 807, 808, 809, 811, 812, 813, 814, 815, 816, 817, 818, 819,
|
|
820, 821, 822, 823, 824, 826, 827, 828, 829, 830, 831, 833, 834, 835, 836, 837, 841, 842, 843,
|
|
848, 849, 851, 852, 853, 854, 857, 859, 861, 862, 863, 867, 873, 874, 879, 883, 887, 891, 895,
|
|
898, 899, 900, 902, 906, 909, 913, 914, 916, 931, 936, 937, 938, 942, 960, 969, 977, 981, 982,
|
|
1002, 1006, 1008, 1009, 1014
|
|
} },
|
|
|
|
{ 10, new HashSet<int>{
|
|
2, 3, 5, 6, 7, 8, 10, 11, 12, 15, 17, 18, 19, 22, 28, 32, 33, 38, 39, 40, 41, 42, 43, 45, 47,
|
|
49, 52, 53, 54, 56, 62, 63, 65, 66, 67, 68, 69, 70, 71, 72, 73, 78, 84, 86, 87, 89, 90, 91, 94,
|
|
95, 96, 97, 101, 103, 104, 106, 107, 108, 109, 110, 111, 112, 113, 114, 120, 121, 123, 125,
|
|
127, 130, 131, 132, 135, 136, 137, 138, 140, 141, 142, 145, 147, 148, 150, 151, 152, 157, 158,
|
|
160, 161, 163, 168, 170, 174, 176, 178, 180, 183, 187, 188, 189, 191, 192, 195, 199, 200, 201,
|
|
202, 203, 205, 207, 209, 215, 219, 220, 221, 223, 224, 227, 231, 234, 237, 240, 241, 243, 246,
|
|
249, 250, 251, 252, 253, 255, 256, 261, 262, 265, 271, 272, 274, 277, 278, 280, 284, 285, 286,
|
|
287, 289, 294, 297, 298, 299, 301, 304, 308, 314, 316, 321, 323, 325, 327, 329, 331, 338, 341,
|
|
342, 345, 347, 348, 351, 352, 356, 357, 363, 365, 366, 367, 368, 369, 371, 372, 374, 381, 382,
|
|
388, 389, 390, 391, 393, 398, 400, 402, 405, 416, 429, 430, 432, 434, 435, 436, 437, 438, 440,
|
|
442, 443, 445, 447, 449, 450, 452, 454, 460, 461, 464, 465, 468, 472, 476, 477, 480, 482, 491,
|
|
493, 494, 495, 499, 500, 502, 503, 506, 507, 509, 510, 511, 515, 516, 520, 525, 526, 527, 528,
|
|
530, 531, 532, 535, 538, 539, 545, 546, 550, 553, 557, 558, 568, 579, 582, 586, 587, 589, 591,
|
|
594, 596, 601, 608, 617, 618, 624, 625, 630, 631, 633, 634, 637, 641, 643, 645, 650, 651, 654,
|
|
656, 657, 660, 661, 662, 665, 666, 671, 673, 676, 679, 690, 692, 702, 703, 704, 705, 706, 713,
|
|
718, 719, 721, 723, 725, 727, 735, 736, 737, 739, 747, 750, 751, 752, 755, 756, 757, 758, 761,
|
|
762, 764, 768, 771, 772, 774, 780, 786, 787, 788, 789, 790, 791, 794, 800, 803, 806, 809, 812,
|
|
824, 835, 839, 841, 843, 845, 847, 849, 851, 857, 860, 861, 863, 864, 865, 867, 871, 872, 877,
|
|
880, 881, 882, 887, 890, 892, 893, 895, 904, 906, 907, 908, 910, 916, 917, 918, 921, 924, 927,
|
|
930, 932, 934, 939, 946, 948, 949, 957, 960, 961, 963, 965, 966, 969, 971, 982, 983, 985, 986,
|
|
987, 989, 991, 992, 994, 998, 1004, 1010, 1016, 1021
|
|
} },
|
|
|
|
{ 11, new HashSet<int>{
|
|
0, 1, 2, 3, 4, 5, 7, 10, 11, 12, 13, 16, 17, 22, 23, 24, 26, 27, 28, 29, 30, 33, 34, 35, 36,
|
|
39, 41, 43, 45, 47, 50, 52, 54, 56, 60, 62, 63, 64, 66, 67, 68, 73, 75, 76, 77, 81, 86, 88, 91,
|
|
94, 96, 99, 100, 101, 102, 104, 106, 113, 114, 124, 125, 126, 128, 130, 131, 139, 142, 145,
|
|
152, 156, 160, 161, 163, 165, 168, 169, 170, 172, 174, 175, 176, 178, 181, 182, 184, 185, 186,
|
|
189, 190, 192, 193, 203, 204, 206, 208, 211, 216, 217, 219, 231, 233, 234, 238, 241, 249, 254,
|
|
256, 259, 263, 264, 265, 267, 271, 275, 276, 277, 278, 280, 282, 285, 286, 289, 292, 299, 300,
|
|
301, 308, 320, 321, 322, 323, 337, 338, 345, 356, 359, 361, 366, 369, 377, 379, 384, 386, 392,
|
|
393, 400, 412, 413, 414, 424, 428, 429, 435, 446, 452, 453, 461, 463, 464, 471, 479, 481, 486,
|
|
490, 492, 495, 498, 499, 508, 513, 522, 530, 533, 539, 541, 543, 544, 551, 556, 563, 565, 567,
|
|
573, 576, 586, 587, 595, 596, 609, 612, 618, 621, 623, 624, 625, 630, 638, 643, 644, 654, 659,
|
|
665, 669, 671, 673, 683, 690, 693, 694, 700, 701, 703, 704, 713, 717, 719, 729, 733, 737, 752,
|
|
757, 774, 781, 786, 791, 797, 802, 803, 805, 807, 814, 815, 820, 827, 830, 833, 842, 852, 858,
|
|
867, 871, 872, 887, 896, 897, 908, 917, 919, 923, 926, 934, 938, 941, 958, 964, 970, 977, 983,
|
|
985, 986, 990, 991, 992, 1000, 1003, 1009, 1011, 1013, 1015
|
|
} },
|
|
|
|
{ 12, new HashSet<int>{
|
|
0, 1, 2, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 18, 19, 23, 29, 32, 33, 35, 39, 40, 42, 43, 44,
|
|
45, 49, 54, 55, 56, 65, 66, 69, 71, 74, 77, 80, 82, 83, 87, 88, 91, 93, 94, 95, 97, 104, 106,
|
|
108, 116, 117, 119, 124, 125, 129, 132, 135, 141, 146, 147, 152, 153, 154, 159, 161, 163, 166,
|
|
168, 174, 175, 177, 178, 180, 185, 188, 194, 196, 203, 204, 207, 210, 211, 215, 221, 223, 224,
|
|
227, 230, 233, 234, 236, 238, 239, 241, 242, 250, 257, 258, 261, 268, 270, 271, 277, 280, 284,
|
|
285, 290, 295, 296, 300, 306, 307, 310, 314, 328, 330, 333, 343, 368, 376, 377, 383, 384, 388,
|
|
398, 399, 402, 409, 414, 419, 425, 427, 428, 441, 458, 459, 497, 498, 506, 513, 520, 521, 522,
|
|
523, 532, 540, 542, 547, 549, 554, 560, 563, 569, 574, 580, 581, 582, 609, 610, 612, 627, 628,
|
|
631, 632, 638, 644, 646, 650, 652, 653, 654, 655, 656, 657, 658, 659, 661, 665, 676, 687, 688,
|
|
693, 694, 695, 697, 699, 716, 721, 723, 724, 731, 733, 735, 736, 737, 739, 744, 745, 747, 751,
|
|
752, 754, 756, 758, 774, 779, 781, 790, 792, 793, 802, 844, 846, 849, 896, 955, 958, 960, 970,
|
|
988, 991, 994, 997, 1003, 1020, 1021
|
|
} },
|
|
|
|
{ 13, new HashSet<int>{
|
|
0, 2, 6, 7, 10, 11, 16, 18, 20, 23, 24, 31, 33, 35, 37, 38, 41, 45, 51, 52, 54, 64, 66, 70, 82,
|
|
83, 87, 94, 96, 97, 100, 104, 105, 106, 111, 117, 120, 122, 124, 126, 127, 128, 133, 148, 151,
|
|
158, 160, 168, 169, 174, 176, 180, 182, 185, 186, 191, 196, 214, 228, 230, 232, 245, 247, 260,
|
|
262, 273, 278, 282, 285, 290, 293, 298, 306, 314, 318, 335, 336, 345, 360, 366, 375, 378, 388,
|
|
399, 424, 441, 442, 462, 479, 481, 490, 496, 498, 504, 505, 509
|
|
} },
|
|
|
|
{ 14, new HashSet<int>{
|
|
0, 2, 3, 4, 10, 12, 14, 16, 19, 20, 21, 22, 23, 24, 26, 27, 29, 31, 35, 37, 42, 43, 44, 49, 51,
|
|
52, 66, 67, 68, 75, 76, 80, 81, 83, 94, 96, 98, 100, 103, 104, 107, 113, 116, 117, 118, 126,
|
|
127, 129, 134, 137, 140, 143, 149, 164, 171, 175, 189, 192, 201, 206, 211, 214, 216, 223, 231,
|
|
233, 241, 242, 254, 261, 278, 280, 283, 288, 291, 294, 299, 307, 314, 316, 323, 325, 329, 338,
|
|
343, 352, 369, 381, 394, 410, 419, 431, 432, 433, 451, 453, 458, 460, 464, 474, 505
|
|
} },
|
|
|
|
{ 15, new HashSet<int>{
|
|
0, 7, 8, 10, 20, 21, 24, 29, 31, 32, 35, 38, 39, 42, 55, 58, 66, 68, 78, 114, 115, 134, 135,
|
|
137, 142, 155, 156, 164, 192, 198, 208, 217
|
|
} },
|
|
|
|
{ 16, new HashSet<int>{
|
|
0, 1, 2, 3, 5, 7, 8, 9, 11, 13, 14, 16, 19, 21, 24, 26, 28, 32, 35, 36, 40, 41, 43, 49, 51, 53,
|
|
55, 57, 60, 65, 82, 95, 108, 111, 112
|
|
} },
|
|
|
|
{ 17, new HashSet<int>{
|
|
0, 6, 11, 16, 17, 18, 19, 22, 29, 32, 36, 37, 39, 45, 46, 49, 56, 57, 58, 61, 64, 67, 69, 73,
|
|
87, 88, 89, 91, 96, 101, 105, 114, 115, 116
|
|
} },
|
|
|
|
{ 18, new HashSet<int>{
|
|
0, 4, 5, 7, 9, 10, 12, 19, 23, 26, 31, 34, 37, 48, 57, 60, 73, 76, 80, 81, 87, 91, 92, 97, 102,
|
|
121, 126, 128, 130, 137, 144, 147, 149, 158, 159, 164, 165, 174, 178, 184, 195, 212, 216, 246
|
|
} },
|
|
|
|
{ 19, new HashSet<int>{
|
|
0, 1, 3, 4, 10, 13, 15, 16, 27, 31, 32, 53, 56, 59, 63, 65, 82, 83, 86, 94, 112, 117, 119, 121,
|
|
126
|
|
} },
|
|
|
|
{ 20, new HashSet<int>{
|
|
0, 2, 3, 7, 8, 13, 15, 21, 22, 24, 37, 38, 46, 47, 48, 49, 59, 61, 74, 79, 82, 100, 109, 111,
|
|
112, 116, 118, 119, 121
|
|
} },
|
|
|
|
{ 21, new HashSet<int>{
|
|
6, 7, 8, 13, 15, 20, 26, 35, 36, 37, 39
|
|
} },
|
|
|
|
{ 22, new HashSet<int>{
|
|
0, 5, 7, 8, 11, 13, 15, 16, 21, 23, 25, 26, 29, 33, 35, 37, 39, 40, 45, 46, 48, 49, 50, 53, 55,
|
|
56, 58, 61
|
|
} },
|
|
|
|
{ 23, new HashSet<int>{
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 25, 26, 28, 30
|
|
} },
|
|
|
|
{ 24, new HashSet<int>{
|
|
0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
|
|
} }
|
|
};
|
|
}
|
|
}
|