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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
| #include <stdio.h> #include <stdint.h>
#define print_wel_idx 2766 #define scanf_idx print_wel_idx + 6 #define enc_idx scanf_idx + 37
uint16_t mem[] = {21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
print_wel_idx, print_wel_idx, 11, 11, 11, 3, 20, 20, 11, 11, 11, 2, print_wel_idx+1, print_wel_idx+1, 11, 11, 11, 3, 20, 20, 11, 11, 11, 2, print_wel_idx+2, print_wel_idx+2, 11, 11, 11, 3, 20, 20, 11, 11, 11, 2, print_wel_idx+3, print_wel_idx+3, 11, 11, 11, 3, 20, 20, 11, 11, 11, 2, print_wel_idx+4, print_wel_idx+4, 11, 11, 11, 3, 20, 20, 11, 11, 11, 2, print_wel_idx+5, print_wel_idx+5, 11, 11, 11, 3, 20, 20, 11, 11, 11, 2,
20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx, 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 1 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 2 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 3 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 4 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 5 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 6 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 7 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 8 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 9 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 10 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 11 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 12 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 13 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 14 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 15 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 16 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 17 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 18 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 19 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 20 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 21 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 22 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 23 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 24 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 25 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 26 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 27 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 28 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 29 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 30 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 31 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 32 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 33 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 34 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 35 , 20, 20, 11, 11, 11, 7, 8, 8, 7, 7, 7, scanf_idx+ 36 ,
scanf_idx, scanf_idx, 11, 11, scanf_idx + 1, 11, scanf_idx + 1, scanf_idx + 1, 12, 12, scanf_idx, 12, 11, 12, 17,
scanf_idx + 2, scanf_idx + 2, 11, 11, scanf_idx + 3, 11, scanf_idx + 3, scanf_idx + 3, 12, 12, scanf_idx + 2, 12, 11, 12, 18,
17, 17, 11, 11, 18, 11, 18, 18, 12, 12, 17, 12, 11, 12, 18,
enc_idx, enc_idx, 11, 11, 18, 11, 18, 18, 12, 12, enc_idx, 12, 11, 12, 19,
scanf_idx+1, scanf_idx+1, 11,11, scanf_idx + 2, 11,scanf_idx + 2, scanf_idx + 2, 12,12, scanf_idx + 1, 12,11, 12, 17, scanf_idx + 3, scanf_idx + 3, 11,11, scanf_idx + 4, 11,scanf_idx + 4, scanf_idx + 4, 12,12, scanf_idx + 3, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 1, enc_idx + 1, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 1, 12,11, 12, 19, scanf_idx+2, scanf_idx+2, 11,11, scanf_idx + 3, 11,scanf_idx + 3, scanf_idx + 3, 12,12, scanf_idx + 2, 12,11, 12, 17, scanf_idx + 4, scanf_idx + 4, 11,11, scanf_idx + 5, 11,scanf_idx + 5, scanf_idx + 5, 12,12, scanf_idx + 4, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 2, enc_idx + 2, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 2, 12,11, 12, 19, scanf_idx+3, scanf_idx+3, 11,11, scanf_idx + 4, 11,scanf_idx + 4, scanf_idx + 4, 12,12, scanf_idx + 3, 12,11, 12, 17, scanf_idx + 5, scanf_idx + 5, 11,11, scanf_idx + 6, 11,scanf_idx + 6, scanf_idx + 6, 12,12, scanf_idx + 5, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 3, enc_idx + 3, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 3, 12,11, 12, 19, scanf_idx+4, scanf_idx+4, 11,11, scanf_idx + 5, 11,scanf_idx + 5, scanf_idx + 5, 12,12, scanf_idx + 4, 12,11, 12, 17, scanf_idx + 6, scanf_idx + 6, 11,11, scanf_idx + 7, 11,scanf_idx + 7, scanf_idx + 7, 12,12, scanf_idx + 6, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 4, enc_idx + 4, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 4, 12,11, 12, 19, scanf_idx+5, scanf_idx+5, 11,11, scanf_idx + 6, 11,scanf_idx + 6, scanf_idx + 6, 12,12, scanf_idx + 5, 12,11, 12, 17, scanf_idx + 7, scanf_idx + 7, 11,11, scanf_idx + 8, 11,scanf_idx + 8, scanf_idx + 8, 12,12, scanf_idx + 7, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 5, enc_idx + 5, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 5, 12,11, 12, 19, scanf_idx+6, scanf_idx+6, 11,11, scanf_idx + 7, 11,scanf_idx + 7, scanf_idx + 7, 12,12, scanf_idx + 6, 12,11, 12, 17, scanf_idx + 8, scanf_idx + 8, 11,11, scanf_idx + 9, 11,scanf_idx + 9, scanf_idx + 9, 12,12, scanf_idx + 8, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 6, enc_idx + 6, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 6, 12,11, 12, 19, scanf_idx+7, scanf_idx+7, 11,11, scanf_idx + 8, 11,scanf_idx + 8, scanf_idx + 8, 12,12, scanf_idx + 7, 12,11, 12, 17, scanf_idx + 9, scanf_idx + 9, 11,11, scanf_idx + 10, 11,scanf_idx + 10, scanf_idx + 10, 12,12, scanf_idx + 9, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 7, enc_idx + 7, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 7, 12,11, 12, 19, scanf_idx+8, scanf_idx+8, 11,11, scanf_idx + 9, 11,scanf_idx + 9, scanf_idx + 9, 12,12, scanf_idx + 8, 12,11, 12, 17, scanf_idx + 10, scanf_idx + 10, 11,11, scanf_idx + 11, 11,scanf_idx + 11, scanf_idx + 11, 12,12, scanf_idx + 10, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 8, enc_idx + 8, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 8, 12,11, 12, 19, scanf_idx+9, scanf_idx+9, 11,11, scanf_idx + 10, 11,scanf_idx + 10, scanf_idx + 10, 12,12, scanf_idx + 9, 12,11, 12, 17, scanf_idx + 11, scanf_idx + 11, 11,11, scanf_idx + 12, 11,scanf_idx + 12, scanf_idx + 12, 12,12, scanf_idx + 11, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 9, enc_idx + 9, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 9, 12,11, 12, 19, scanf_idx+10, scanf_idx+10, 11,11, scanf_idx + 11, 11,scanf_idx + 11, scanf_idx + 11, 12,12, scanf_idx + 10, 12,11, 12, 17, scanf_idx + 12, scanf_idx + 12, 11,11, scanf_idx + 13, 11,scanf_idx + 13, scanf_idx + 13, 12,12, scanf_idx + 12, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 10, enc_idx + 10, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 10, 12,11, 12, 19, scanf_idx+11, scanf_idx+11, 11,11, scanf_idx + 12, 11,scanf_idx + 12, scanf_idx + 12, 12,12, scanf_idx + 11, 12,11, 12, 17, scanf_idx + 13, scanf_idx + 13, 11,11, scanf_idx + 14, 11,scanf_idx + 14, scanf_idx + 14, 12,12, scanf_idx + 13, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 11, enc_idx + 11, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 11, 12,11, 12, 19, scanf_idx+12, scanf_idx+12, 11,11, scanf_idx + 13, 11,scanf_idx + 13, scanf_idx + 13, 12,12, scanf_idx + 12, 12,11, 12, 17, scanf_idx + 14, scanf_idx + 14, 11,11, scanf_idx + 15, 11,scanf_idx + 15, scanf_idx + 15, 12,12, scanf_idx + 14, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 12, enc_idx + 12, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 12, 12,11, 12, 19, scanf_idx+13, scanf_idx+13, 11,11, scanf_idx + 14, 11,scanf_idx + 14, scanf_idx + 14, 12,12, scanf_idx + 13, 12,11, 12, 17, scanf_idx + 15, scanf_idx + 15, 11,11, scanf_idx + 16, 11,scanf_idx + 16, scanf_idx + 16, 12,12, scanf_idx + 15, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 13, enc_idx + 13, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 13, 12,11, 12, 19, scanf_idx+14, scanf_idx+14, 11,11, scanf_idx + 15, 11,scanf_idx + 15, scanf_idx + 15, 12,12, scanf_idx + 14, 12,11, 12, 17, scanf_idx + 16, scanf_idx + 16, 11,11, scanf_idx + 17, 11,scanf_idx + 17, scanf_idx + 17, 12,12, scanf_idx + 16, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 14, enc_idx + 14, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 14, 12,11, 12, 19, scanf_idx+15, scanf_idx+15, 11,11, scanf_idx + 16, 11,scanf_idx + 16, scanf_idx + 16, 12,12, scanf_idx + 15, 12,11, 12, 17, scanf_idx + 17, scanf_idx + 17, 11,11, scanf_idx + 18, 11,scanf_idx + 18, scanf_idx + 18, 12,12, scanf_idx + 17, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 15, enc_idx + 15, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 15, 12,11, 12, 19, scanf_idx+16, scanf_idx+16, 11,11, scanf_idx + 17, 11,scanf_idx + 17, scanf_idx + 17, 12,12, scanf_idx + 16, 12,11, 12, 17, scanf_idx + 18, scanf_idx + 18, 11,11, scanf_idx + 19, 11,scanf_idx + 19, scanf_idx + 19, 12,12, scanf_idx + 18, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 16, enc_idx + 16, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 16, 12,11, 12, 19, scanf_idx+17, scanf_idx+17, 11,11, scanf_idx + 18, 11,scanf_idx + 18, scanf_idx + 18, 12,12, scanf_idx + 17, 12,11, 12, 17, scanf_idx + 19, scanf_idx + 19, 11,11, scanf_idx + 20, 11,scanf_idx + 20, scanf_idx + 20, 12,12, scanf_idx + 19, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 17, enc_idx + 17, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 17, 12,11, 12, 19, scanf_idx+18, scanf_idx+18, 11,11, scanf_idx + 19, 11,scanf_idx + 19, scanf_idx + 19, 12,12, scanf_idx + 18, 12,11, 12, 17, scanf_idx + 20, scanf_idx + 20, 11,11, scanf_idx + 21, 11,scanf_idx + 21, scanf_idx + 21, 12,12, scanf_idx + 20, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 18, enc_idx + 18, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 18, 12,11, 12, 19, scanf_idx+19, scanf_idx+19, 11,11, scanf_idx + 20, 11,scanf_idx + 20, scanf_idx + 20, 12,12, scanf_idx + 19, 12,11, 12, 17, scanf_idx + 21, scanf_idx + 21, 11,11, scanf_idx + 22, 11,scanf_idx + 22, scanf_idx + 22, 12,12, scanf_idx + 21, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 19, enc_idx + 19, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 19, 12,11, 12, 19, scanf_idx+20, scanf_idx+20, 11,11, scanf_idx + 21, 11,scanf_idx + 21, scanf_idx + 21, 12,12, scanf_idx + 20, 12,11, 12, 17, scanf_idx + 22, scanf_idx + 22, 11,11, scanf_idx + 23, 11,scanf_idx + 23, scanf_idx + 23, 12,12, scanf_idx + 22, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 20, enc_idx + 20, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 20, 12,11, 12, 19, scanf_idx+21, scanf_idx+21, 11,11, scanf_idx + 22, 11,scanf_idx + 22, scanf_idx + 22, 12,12, scanf_idx + 21, 12,11, 12, 17, scanf_idx + 23, scanf_idx + 23, 11,11, scanf_idx + 24, 11,scanf_idx + 24, scanf_idx + 24, 12,12, scanf_idx + 23, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 21, enc_idx + 21, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 21, 12,11, 12, 19, scanf_idx+22, scanf_idx+22, 11,11, scanf_idx + 23, 11,scanf_idx + 23, scanf_idx + 23, 12,12, scanf_idx + 22, 12,11, 12, 17, scanf_idx + 24, scanf_idx + 24, 11,11, scanf_idx + 25, 11,scanf_idx + 25, scanf_idx + 25, 12,12, scanf_idx + 24, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 22, enc_idx + 22, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 22, 12,11, 12, 19, scanf_idx+23, scanf_idx+23, 11,11, scanf_idx + 24, 11,scanf_idx + 24, scanf_idx + 24, 12,12, scanf_idx + 23, 12,11, 12, 17, scanf_idx + 25, scanf_idx + 25, 11,11, scanf_idx + 26, 11,scanf_idx + 26, scanf_idx + 26, 12,12, scanf_idx + 25, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 23, enc_idx + 23, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 23, 12,11, 12, 19, scanf_idx+24, scanf_idx+24, 11,11, scanf_idx + 25, 11,scanf_idx + 25, scanf_idx + 25, 12,12, scanf_idx + 24, 12,11, 12, 17, scanf_idx + 26, scanf_idx + 26, 11,11, scanf_idx + 27, 11,scanf_idx + 27, scanf_idx + 27, 12,12, scanf_idx + 26, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 24, enc_idx + 24, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 24, 12,11, 12, 19, scanf_idx+25, scanf_idx+25, 11,11, scanf_idx + 26, 11,scanf_idx + 26, scanf_idx + 26, 12,12, scanf_idx + 25, 12,11, 12, 17, scanf_idx + 27, scanf_idx + 27, 11,11, scanf_idx + 28, 11,scanf_idx + 28, scanf_idx + 28, 12,12, scanf_idx + 27, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 25, enc_idx + 25, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 25, 12,11, 12, 19, scanf_idx+26, scanf_idx+26, 11,11, scanf_idx + 27, 11,scanf_idx + 27, scanf_idx + 27, 12,12, scanf_idx + 26, 12,11, 12, 17, scanf_idx + 28, scanf_idx + 28, 11,11, scanf_idx + 29, 11,scanf_idx + 29, scanf_idx + 29, 12,12, scanf_idx + 28, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 26, enc_idx + 26, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 26, 12,11, 12, 19, scanf_idx+27, scanf_idx+27, 11,11, scanf_idx + 28, 11,scanf_idx + 28, scanf_idx + 28, 12,12, scanf_idx + 27, 12,11, 12, 17, scanf_idx + 29, scanf_idx + 29, 11,11, scanf_idx + 30, 11,scanf_idx + 30, scanf_idx + 30, 12,12, scanf_idx + 29, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 27, enc_idx + 27, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 27, 12,11, 12, 19, scanf_idx+28, scanf_idx+28, 11,11, scanf_idx + 29, 11,scanf_idx + 29, scanf_idx + 29, 12,12, scanf_idx + 28, 12,11, 12, 17, scanf_idx + 30, scanf_idx + 30, 11,11, scanf_idx + 31, 11,scanf_idx + 31, scanf_idx + 31, 12,12, scanf_idx + 30, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 28, enc_idx + 28, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 28, 12,11, 12, 19, scanf_idx+29, scanf_idx+29, 11,11, scanf_idx + 30, 11,scanf_idx + 30, scanf_idx + 30, 12,12, scanf_idx + 29, 12,11, 12, 17, scanf_idx + 31, scanf_idx + 31, 11,11, scanf_idx + 32, 11,scanf_idx + 32, scanf_idx + 32, 12,12, scanf_idx + 31, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 29, enc_idx + 29, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 29, 12,11, 12, 19, scanf_idx+30, scanf_idx+30, 11,11, scanf_idx + 31, 11,scanf_idx + 31, scanf_idx + 31, 12,12, scanf_idx + 30, 12,11, 12, 17, scanf_idx + 32, scanf_idx + 32, 11,11, scanf_idx + 33, 11,scanf_idx + 33, scanf_idx + 33, 12,12, scanf_idx + 32, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 30, enc_idx + 30, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 30, 12,11, 12, 19, scanf_idx+31, scanf_idx+31, 11,11, scanf_idx + 32, 11,scanf_idx + 32, scanf_idx + 32, 12,12, scanf_idx + 31, 12,11, 12, 17, scanf_idx + 33, scanf_idx + 33, 11,11, scanf_idx + 34, 11,scanf_idx + 34, scanf_idx + 34, 12,12, scanf_idx + 33, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 31, enc_idx + 31, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 31, 12,11, 12, 19, scanf_idx+32, scanf_idx+32, 11,11, scanf_idx + 33, 11,scanf_idx + 33, scanf_idx + 33, 12,12, scanf_idx + 32, 12,11, 12, 17, scanf_idx + 34, scanf_idx + 34, 11,11, scanf_idx + 35, 11,scanf_idx + 35, scanf_idx + 35, 12,12, scanf_idx + 34, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 32, enc_idx + 32, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 32, 12,11, 12, 19, scanf_idx+33, scanf_idx+33, 11,11, scanf_idx + 34, 11,scanf_idx + 34, scanf_idx + 34, 12,12, scanf_idx + 33, 12,11, 12, 17, scanf_idx + 35, scanf_idx + 35, 11,11, scanf_idx + 36, 11,scanf_idx + 36, scanf_idx + 36, 12,12, scanf_idx + 35, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 33, enc_idx + 33, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 33, 12,11, 12, 19, scanf_idx+34, scanf_idx+34, 11,11, scanf_idx + 35, 11,scanf_idx + 35, scanf_idx + 35, 12,12, scanf_idx + 34, 12,11, 12, 17, scanf_idx + 36, scanf_idx + 36, 11,11, scanf_idx + 0, 11,scanf_idx + 0, scanf_idx + 0, 12,12, scanf_idx + 36, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 34, enc_idx + 34, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 34, 12,11, 12, 19, scanf_idx+35, scanf_idx+35, 11,11, scanf_idx + 36, 11,scanf_idx + 36, scanf_idx + 36, 12,12, scanf_idx + 35, 12,11, 12, 17, scanf_idx + 0, scanf_idx + 0, 11,11, scanf_idx + 1, 11,scanf_idx + 1, scanf_idx + 1, 12,12, scanf_idx + 0, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 35, enc_idx + 35, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 35, 12,11, 12, 19, scanf_idx+36, scanf_idx+36, 11,11, scanf_idx + 0, 11,scanf_idx + 0, scanf_idx + 0, 12,12, scanf_idx + 36, 12,11, 12, 17, scanf_idx + 1, scanf_idx + 1, 11,11, scanf_idx + 2, 11,scanf_idx + 2, scanf_idx + 2, 12,12, scanf_idx + 1, 12,11, 12, 18,17, 17, 11,11, 18, 11,18, 18, 12,12, 17, 12,11, 12, 18,enc_idx + 36, enc_idx + 36, 11,11, 18, 11, 18, 18, 12,12, enc_idx + 36, 12,11, 12, 19,10, 10, 0, 0, 0, 0, 0, 0, 0,
73, 110, 112, 117, 116, 58,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
36, 11, 109, 15, 3, 50, 66, 29, 43, 67, 120, 67, 115, 48, 43, 78, 99, 72, 119, 46, 50, 57, 26, 18, 113, 122, 66, 23, 69, 114, 86, 12, 92, 74, 98, 83, 51,0};
int main() { uint16_t *p_mem = mem; uint16_t PC, a, b, f, r; int idx = 0; while (*p_mem != 0xffff) { if (p_mem[2] == 1) { p_mem[2] = 0; printf("%c", p_mem[3]); } if (p_mem[7] == 1) { p_mem[7] = 0; scanf("%c", p_mem + 8); idx += 1; if(idx == 37) { if(p_mem[8] != 126) { puts("Wrong!"); return 0; } } } if(p_mem[19]) { puts("Wrong!"); return 0; } PC = *p_mem; a = p_mem[PC + 1]; b = p_mem[PC]; r = p_mem[PC + 2]; *p_mem = PC + 3; f = ~(p_mem[b] & p_mem[a]); p_mem[r] = f; } puts("Right!");
return 0; }
|