-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogram.c
346 lines (345 loc) · 8.8 KB
/
program.c
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
#include "stdint.h"
#include "stdio.h"
int main()
{
uint16_t b = 16076;
uint16_t c = 0;
uint16_t d = b >> 2;
uint16_t e = b >> 3;
uint16_t f = b >> 5;
uint16_t g = e | f;
uint16_t h = e & f;
uint16_t i = ~ h;
uint16_t j = g & i;
uint16_t k = d | j;
uint16_t l = d & j;
uint16_t m = ~ l;
uint16_t n = k & m;
uint16_t o = b | n;
uint16_t p = b & n;
uint16_t q = ~ p;
uint16_t r = o & q;
uint16_t s = 1 & r;
uint16_t t = c << 1;
uint16_t u = t | s;
uint16_t v = b >> 1;
uint16_t w = s << 15;
uint16_t x = v | w;
uint16_t y = x >> 2;
uint16_t z = x >> 3;
uint16_t aa = x >> 5;
uint16_t ab = z | aa;
uint16_t ac = z & aa;
uint16_t ad = ~ ac;
uint16_t ae = ab & ad;
uint16_t af = y | ae;
uint16_t ag = y & ae;
uint16_t ah = ~ ag;
uint16_t ai = af & ah;
uint16_t aj = x | ai;
uint16_t ak = x & ai;
uint16_t al = ~ ak;
uint16_t am = aj & al;
uint16_t an = 1 & am;
uint16_t ao = u << 1;
uint16_t ap = ao | an;
uint16_t aq = x >> 1;
uint16_t ar = an << 15;
uint16_t as = aq | ar;
uint16_t at = as >> 2;
uint16_t au = as >> 3;
uint16_t av = as >> 5;
uint16_t aw = au | av;
uint16_t ax = au & av;
uint16_t ay = ~ ax;
uint16_t az = aw & ay;
uint16_t ba = at | az;
uint16_t bb = at & az;
uint16_t bc = ~ bb;
uint16_t bd = ba & bc;
uint16_t be = as | bd;
uint16_t bf = as & bd;
uint16_t bg = ~ bf;
uint16_t bh = be & bg;
uint16_t bi = 1 & bh;
uint16_t bj = ap << 1;
uint16_t bk = bj | bi;
uint16_t bl = as >> 1;
uint16_t bm = bi << 15;
uint16_t bn = bl | bm;
uint16_t bo = bn >> 2;
uint16_t bp = bn >> 3;
uint16_t bq = bn >> 5;
uint16_t br = bp | bq;
uint16_t bs = bp & bq;
uint16_t bt = ~ bs;
uint16_t bu = br & bt;
uint16_t bv = bo | bu;
uint16_t bw = bo & bu;
uint16_t bx = ~ bw;
uint16_t by = bv & bx;
uint16_t bz = bn | by;
uint16_t ca = bn & by;
uint16_t cb = ~ ca;
uint16_t cc = bz & cb;
uint16_t cd = 1 & cc;
uint16_t ce = bk << 1;
uint16_t cf = ce | cd;
uint16_t cg = bn >> 1;
uint16_t ch = cd << 15;
uint16_t ci = cg | ch;
uint16_t cj = ci >> 2;
uint16_t ck = ci >> 3;
uint16_t cl = ci >> 5;
uint16_t cm = ck | cl;
uint16_t cn = ck & cl;
uint16_t co = ~ cn;
uint16_t cp = cm & co;
uint16_t cq = cj | cp;
uint16_t cr = cj & cp;
uint16_t cs = ~ cr;
uint16_t ct = cq & cs;
uint16_t cu = ci | ct;
uint16_t cv = ci & ct;
uint16_t cw = ~ cv;
uint16_t cx = cu & cw;
uint16_t cy = 1 & cx;
uint16_t cz = cf << 1;
uint16_t da = cz | cy;
uint16_t db = ci >> 1;
uint16_t dc = cy << 15;
uint16_t dd = db | dc;
uint16_t de = dd >> 2;
uint16_t df = dd >> 3;
uint16_t dg = dd >> 5;
uint16_t dh = df | dg;
uint16_t di = df & dg;
uint16_t dj = ~ di;
uint16_t dk = dh & dj;
uint16_t dl = de | dk;
uint16_t dm = de & dk;
uint16_t dn = ~ dm;
uint16_t d_o = dl & dn;
uint16_t dp = dd | d_o;
uint16_t dq = dd & d_o;
uint16_t dr = ~ dq;
uint16_t ds = dp & dr;
uint16_t dt = 1 & ds;
uint16_t du = da << 1;
uint16_t dv = du | dt;
uint16_t dw = dd >> 1;
uint16_t dx = dt << 15;
uint16_t dy = dw | dx;
uint16_t dz = dy >> 2;
uint16_t ea = dy >> 3;
uint16_t eb = dy >> 5;
uint16_t ec = ea | eb;
uint16_t ed = ea & eb;
uint16_t ee = ~ ed;
uint16_t ef = ec & ee;
uint16_t eg = dz | ef;
uint16_t eh = dz & ef;
uint16_t ei = ~ eh;
uint16_t ej = eg & ei;
uint16_t ek = dy | ej;
uint16_t el = dy & ej;
uint16_t em = ~ el;
uint16_t en = ek & em;
uint16_t eo = 1 & en;
uint16_t ep = dv << 1;
uint16_t eq = ep | eo;
uint16_t er = dy >> 1;
uint16_t es = eo << 15;
uint16_t et = er | es;
uint16_t eu = et >> 2;
uint16_t ev = et >> 3;
uint16_t ew = et >> 5;
uint16_t ex = ev | ew;
uint16_t ey = ev & ew;
uint16_t ez = ~ ey;
uint16_t fa = ex & ez;
uint16_t fb = eu | fa;
uint16_t fc = eu & fa;
uint16_t fd = ~ fc;
uint16_t fe = fb & fd;
uint16_t ff = et | fe;
uint16_t fg = et & fe;
uint16_t fh = ~ fg;
uint16_t fi = ff & fh;
uint16_t fj = 1 & fi;
uint16_t fk = eq << 1;
uint16_t fl = fk | fj;
uint16_t fm = et >> 1;
uint16_t fn = fj << 15;
uint16_t fo = fm | fn;
uint16_t fp = fo >> 2;
uint16_t fq = fo >> 3;
uint16_t fr = fo >> 5;
uint16_t fs = fq | fr;
uint16_t ft = fq & fr;
uint16_t fu = ~ ft;
uint16_t fv = fs & fu;
uint16_t fw = fp | fv;
uint16_t fx = fp & fv;
uint16_t fy = ~ fx;
uint16_t fz = fw & fy;
uint16_t ga = fo | fz;
uint16_t gb = fo & fz;
uint16_t gc = ~ gb;
uint16_t gd = ga & gc;
uint16_t ge = 1 & gd;
uint16_t gf = fl << 1;
uint16_t gg = gf | ge;
uint16_t gh = fo >> 1;
uint16_t gi = ge << 15;
uint16_t gj = gh | gi;
uint16_t gk = gj >> 2;
uint16_t gl = gj >> 3;
uint16_t gm = gj >> 5;
uint16_t gn = gl | gm;
uint16_t go = gl & gm;
uint16_t gp = ~ go;
uint16_t gq = gn & gp;
uint16_t gr = gk | gq;
uint16_t gs = gk & gq;
uint16_t gt = ~ gs;
uint16_t gu = gr & gt;
uint16_t gv = gj | gu;
uint16_t gw = gj & gu;
uint16_t gx = ~ gw;
uint16_t gy = gv & gx;
uint16_t gz = 1 & gy;
uint16_t ha = gg << 1;
uint16_t hb = ha | gz;
uint16_t hc = gj >> 1;
uint16_t hd = gz << 15;
uint16_t he = hc | hd;
uint16_t hf = he >> 2;
uint16_t hg = he >> 3;
uint16_t hh = he >> 5;
uint16_t hi = hg | hh;
uint16_t hj = hg & hh;
uint16_t hk = ~ hj;
uint16_t hl = hi & hk;
uint16_t hm = hf | hl;
uint16_t hn = hf & hl;
uint16_t ho = ~ hn;
uint16_t hp = hm & ho;
uint16_t hq = he | hp;
uint16_t hr = he & hp;
uint16_t hs = ~ hr;
uint16_t ht = hq & hs;
uint16_t hu = 1 & ht;
uint16_t hv = hb << 1;
uint16_t hw = hv | hu;
uint16_t hx = he >> 1;
uint16_t hy = hu << 15;
uint16_t hz = hx | hy;
uint16_t ia = hz >> 2;
uint16_t ib = hz >> 3;
uint16_t ic = hz >> 5;
uint16_t id = ib | ic;
uint16_t ie = ib & ic;
uint16_t i_f = ~ ie;
uint16_t ig = id & i_f;
uint16_t ih = ia | ig;
uint16_t ii = ia & ig;
uint16_t ij = ~ ii;
uint16_t ik = ih & ij;
uint16_t il = hz | ik;
uint16_t im = hz & ik;
uint16_t in = ~ im;
uint16_t io = il & in;
uint16_t ip = 1 & io;
uint16_t iq = hw << 1;
uint16_t ir = iq | ip;
uint16_t is = hz >> 1;
uint16_t it = ip << 15;
uint16_t iu = is | it;
uint16_t iv = iu >> 2;
uint16_t iw = iu >> 3;
uint16_t ix = iu >> 5;
uint16_t iy = iw | ix;
uint16_t iz = iw & ix;
uint16_t ja = ~ iz;
uint16_t jb = iy & ja;
uint16_t jc = iv | jb;
uint16_t jd = iv & jb;
uint16_t je = ~ jd;
uint16_t jf = jc & je;
uint16_t jg = iu | jf;
uint16_t jh = iu & jf;
uint16_t ji = ~ jh;
uint16_t jj = jg & ji;
uint16_t jk = 1 & jj;
uint16_t jl = ir << 1;
uint16_t jm = jl | jk;
uint16_t jn = iu >> 1;
uint16_t jo = jk << 15;
uint16_t jp = jn | jo;
uint16_t jq = jp >> 2;
uint16_t jr = jp >> 3;
uint16_t js = jp >> 5;
uint16_t jt = jr | js;
uint16_t ju = jr & js;
uint16_t jv = ~ ju;
uint16_t jw = jt & jv;
uint16_t jx = jq | jw;
uint16_t jy = jq & jw;
uint16_t jz = ~ jy;
uint16_t ka = jx & jz;
uint16_t kb = jp | ka;
uint16_t kc = jp & ka;
uint16_t kd = ~ kc;
uint16_t ke = kb & kd;
uint16_t kf = 1 & ke;
uint16_t kg = jm << 1;
uint16_t kh = kg | kf;
uint16_t ki = jp >> 1;
uint16_t kj = kf << 15;
uint16_t kk = ki | kj;
uint16_t kl = kk >> 2;
uint16_t km = kk >> 3;
uint16_t kn = kk >> 5;
uint16_t ko = km | kn;
uint16_t kp = km & kn;
uint16_t kq = ~ kp;
uint16_t kr = ko & kq;
uint16_t ks = kl | kr;
uint16_t kt = kl & kr;
uint16_t ku = ~ kt;
uint16_t kv = ks & ku;
uint16_t kw = kk | kv;
uint16_t kx = kk & kv;
uint16_t ky = ~ kx;
uint16_t kz = kw & ky;
uint16_t la = 1 & kz;
uint16_t lb = kh << 1;
uint16_t lc = lb | la;
uint16_t ld = kk >> 1;
uint16_t le = la << 15;
uint16_t lf = ld | le;
uint16_t lg = lf >> 2;
uint16_t lh = lf >> 3;
uint16_t li = lf >> 5;
uint16_t lj = lh | li;
uint16_t lk = lh & li;
uint16_t ll = ~ lk;
uint16_t lm = lj & ll;
uint16_t ln = lg | lm;
uint16_t lo = lg & lm;
uint16_t lp = ~ lo;
uint16_t lq = ln & lp;
uint16_t lr = lf | lq;
uint16_t ls = lf & lq;
uint16_t lt = ~ ls;
uint16_t lu = lr & lt;
uint16_t lv = 1 & lu;
uint16_t lw = lc << 1;
uint16_t lx = lw | lv;
uint16_t ly = lf >> 1;
uint16_t lz = lv << 15;
uint16_t ma = ly | lz;
uint16_t a = lx;
printf("a = %d", a);
}