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
| flag = [ 0x67, 0x83, 0x67, 0x70, 0x29, 0x27, 0x7F, 0x68, 0x6B, 0x76, 0x69, 0x76, 0x74, 0x59, 0x73, 0x74, 0x6F, 0x83, 0x24, 0x91, 0x7B, 0x20, 0x54, 0x16, 0x84, 0x58, 0x93, 0x62, 0x5D, 0x66, 0x59, 0x4F ]
op = [ 0x11, 0x11,
0x22, 0x22, 0x80, 0x14, 0x1D, 0x81, 0x11,
0x80, 0x14, 0x13, 0x81, 0x13,
0x80, 0x14, 0x19, 0x80, 0x12,
0x80, 0x05,
0x22, 0x22,
0x80, 0x14, 0x1F, 0x81, 0x11,
0x80, 0x14, 0x10, 0x81, 0x13,
0x80, 0x14, 0x15, 0x80, 0x12,
0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x1D, 0x81, 0x11, 0x80, 0x14, 0xFA, 0x81, 0x02, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x1B, 0x81, 0x11, 0x80, 0x14, 0xFA, 0x81, 0x02, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x1E, 0x81, 0x11, 0x80, 0x14, 0x18, 0x81, 0x13, 0x80, 0x14, 0x22, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x17, 0x81, 0x13, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x24, 0x81, 0x11, 0x80, 0x14, 0x1A, 0x81, 0x13, 0x80, 0x14, 0x1A, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x1E, 0x81, 0x11, 0x80, 0x14, 0x16, 0x81, 0x13, 0x80, 0x14, 0x1C, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x20, 0x81, 0x11, 0x80, 0x14, 0xFA, 0x81, 0x02, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x24, 0x81, 0x11, 0x80, 0x14, 0x14, 0x81, 0x13, 0x80, 0x14, 0x21, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x24, 0x81, 0x11, 0x80, 0x14, 0xFA, 0x81, 0x02, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x1D, 0x81, 0x13, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x29, 0x81, 0x11, 0x80, 0x14, 0x1F, 0x81, 0x13, 0x80, 0x14, 0x23, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x2B, 0x81, 0x11, 0x80, 0x14, 0x1A, 0x81, 0x13, 0x80, 0x14, 0x1D, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x1E, 0x81, 0x13, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x27, 0x81, 0x11, 0x80, 0x14, 0x1B, 0x81, 0x13, 0x80, 0x14, 0x23, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x1D, 0x81, 0x13, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x2A, 0x81, 0x11, 0x80, 0x14, 0x24, 0x81, 0x13, 0x80, 0x14, 0x26, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x2A, 0x81, 0x11, 0x80, 0x14, 0x1C, 0x81, 0x13, 0x80, 0x14, 0x23, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x30, 0x81, 0x11, 0x80, 0x14, 0x27, 0x81, 0x13, 0x80, 0x14, 0x25, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x2D, 0x81, 0x11, 0x80, 0x14, 0x26, 0x81, 0x13, 0x80, 0x14, 0x2F, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x2B, 0x81, 0x11, 0x80, 0x14, 0x22, 0x81, 0x13, 0x80, 0x14, 0x30, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x26, 0x81, 0x13, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x2F, 0x81, 0x11, 0x80, 0x14, 0x21, 0x81, 0x13, 0x80, 0x14, 0x2D, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x36, 0x81, 0x11, 0x80, 0x14, 0x27, 0x81, 0x13, 0x80, 0x14, 0x2C, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x2C, 0x81, 0x13, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x37, 0x81, 0x11, 0x80, 0x14, 0x28, 0x81, 0x13, 0x80, 0x14, 0x2B, 0x80, 0x12, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x37, 0x81, 0x11, 0x80, 0x14, 0xFA, 0x81, 0x02, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x36, 0x81, 0x11, 0x80, 0x14, 0xFA, 0x81, 0x02, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x33, 0x81, 0x11, 0x80, 0x14, 0xFA, 0x81, 0x02, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x38, 0x81, 0x11, 0x80, 0x14, 0xFA, 0x81, 0x02, 0x80, 0x05,
0x22, 0x22, 0x80, 0x14, 0x3D, 0x81, 0x11, 0x80, 0x14, 0x2F, 0x81, 0x13, 0x80, 0x14, 0x35, 0x80, 0x12, 0x80, 0x05 ]
pos = len(flag) tmp = 0
for i in range(len(op) - 2, -1, -1): if op[i] == 0x80 and op[i + 1] == 0x05: pos -= 1
elif op[i] == 0x80 and op[i + 1] == 0x14: tmp = op[i + 2] if op[i + 3] == 0x81 and op[i + 4] == 0x13: flag[pos] ^= tmp elif op[i + 3] == 0x81 and op[i + 4] == 0x11: flag[pos] -= tmp elif op[i + 3] == 0x80 and op[i + 4] == 0x12: flag[pos] += tmp elif op[i + 3] == 0x81 and op[i + 4] == 0x02: flag[pos] = tmp - flag[pos]
for i in range(0, len(flag)): print(chr(flag[i] & 0xff), end="")
|