15 static unsigned char fee_position[6][36] = {
18 {175, 177, 180, 181, 178, 179, 166, 167, 168,
19 255, 169, 170, 154, 155, 156, 157, 158, 159,
20 255, 255, 255, 255, 255, 255, 171, 255, 172,
21 176, 173, 174, 160, 161, 162, 163, 164, 165,},
24 {127, 128, 129, 130, 131, 132, 138, 139, 140,
25 141, 142, 255, 255, 143, 146, 147, 144, 145,
26 133, 134, 135, 136, 137, 255, 255, 255, 255,
27 255, 255, 255, 148, 149, 150, 151, 152, 153,},
30 { 99, 100, 101, 102, 103, 104, 105, 255, 255,
31 106, 107, 108, 109, 110, 111, 112, 255, 255,
32 113, 114, 115, 116, 117, 118, 119, 255, 255,
33 120, 121, 122, 255, 123, 124, 125, 255, 255},
36 { 69, 70, 71, 72, 73, 74, 75, 76, 255,
37 77, 78, 79, 80, 81, 82, 83, 84, 255,
38 85, 86, 87, 88, 255, 89, 90, 91, 255,
39 92, 93, 94, 95, 255, 96, 97, 98, 255},
42 { 36, 37, 38, 39, 40, 41, 42, 43, 44,
43 45, 46, 47, 48, 255, 49, 50, 51, 52,
44 53, 54, 55, 56, 255, 57, 58, 59, 60,
45 61, 62, 63, 64, 255, 65, 66, 67, 68},
48 { 0, 1, 2, 3, 4, 5, 6, 7, 8,
49 9, 10, 11, 12, 13, 14, 15, 16, 17,
50 18, 19, 20, 21, 22, 23, 24, 25, 26,
51 27, 28, 29, 30, 31, 32, 33, 34, 35}};
68 static int fee_order[6][72] ={
70 {0,1,2,3,4,5,6,7,8,9,10,11,12,13,
71 14,15,16,17,18,19,20,21,22,23,
72 24,25,26,27,28,29,30,31,32,33,34,35,
73 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
74 14,15,16,17,18,19,20,21,22,23,
75 24,25,26,27,28,29,30,31,32,33,34,35},
78 {0,1,2,3,4,5,6,7,8,9,10,11,12,13,
79 14,15,16,17,18,19,20,21,22,23,
80 24,25,26,27,28,29,30,31,32,33,34,35,
81 0,1,2,3,4,5,6,7,8,9,10,11,12,13,
82 14,15,16,17,18,19,20,21,22,23,
83 24,25,26,27,28,29,30,31,32,33,34,35},
86 {0,1,2,3,4,5,15,16,17,9,10,11,21,
87 22,23,24,25,26,6,7,8,0,1,2,12,13,
88 14,15,16,17,27,28,29,30,31,32,3,4,
89 5,6,7,8,18,19,20,21,22,23,33,34,35,
90 27,28,29,9,10,11,12,13,14,24,25,26,
91 18,19,20,30,31,32,33,34,35},
94 {0,1,2,3,4,5,15,16,17,9,10,11,21,
95 22,23,24,25,26,6,7,8,0,1,2,12,13,
96 14,15,16,17,27,28,29,30,31,32,3,4,
97 5,6,7,8,18,19,20,21,22,23,33,34,35,
98 27,28,29,9,10,11,12,13,14,24,25,26,
99 18,19,20,30,31,32,33,34,35},
102 {0,1,2,3,4,5,15,16,17,9,10,11,21,
103 22,23,24,25,26,6,7,8,0,1,2,12,13,
104 14,15,16,17,27,28,29,30,31,32,3,4,
105 5,6,7,8,18,19,20,21,22,23,33,34,35,
106 27,28,29,9,10,11,12,13,14,24,25,26,
107 18,19,20,30,31,32,33,34,35},
110 {0,1,2,3,4,5,15,16,17,9,10,11,21,
111 22,23,24,25,26,6,7,8,0,1,2,12,13,
112 14,15,16,17,27,28,29,30,31,32,3,4,
113 5,6,7,8,18,19,20,21,22,23,33,34,35,
114 27,28,29,9,10,11,12,13,14,24,25,26,
115 18,19,20,30,31,32,33,34,35}
123 static int fee_upper[6][72] = {
124 {0, 0, 0, 0, 0, 0, 0, 0, 0,
125 0, 0, 0, 0, 0, 0, 0, 0, 0,
126 0, 0, 0, 0, 0, 0, 0, 0, 0,
127 0, 0, 0, 0, 0, 0, 0, 0, 0,
128 1, 1, 1, 1, 1, 1, 1, 1, 1,
129 1, 1, 1, 1, 1, 1, 1, 1, 1,
130 1, 1, 1, 1, 1, 1, 1, 1, 1,
131 1, 1, 1, 1, 1, 1, 1, 1, 1},
133 {0, 0, 0, 0, 0, 0, 0, 0, 0,
134 0, 0, 0, 0, 0, 0, 0, 0, 0,
135 0, 0, 0, 0, 0,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