Advertisement
Yibbon

Chaos in C

Jan 10th, 2015
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.88 KB | None
  1. unsigned short bb[44100];unsigned char k=0;unsigned int jj=0;int*cc; main(){int q,bm=40,e,e2,d=2,d2=2,m=0,b,i,im=21500,l=1200,u=8000,x=6\
  2. 14861476,dd=3479607977; unsigned short aa=3921,n=305419896,ee=0,ii=0xAEEE,y,ff=0xEEE0,g,gg=0xBCDE,mm=0;unsigned char hh=0,t=1,z=6;char xt
  3. =0,st=0,o=4,a=127,s,kk=6,a2=127,ll,du[]={1,2,3,4,3,2,1}; unsigned char nn=0,oo,v,v3,v2; int p[]={1349,1273,1201,1134,1070,1010,954,900,8\
  4. 50,802,757,714},oi[]={0,7,9,11,21,26,27,8},j[]={0,12,5,17,7,19,17,7,12,0},h[]={0,1,3,5,9,10,12,17,19,21},f[]={0,4,6,8,12,13,7,5,4,0,3,6,8
  5. ,9,12,15,17,21,15,12,9,8,4,0};for(;;m++){cc=h;im-=m<6?(200):0;if(m==14){jj++;m--;}if(m>3){mm=0xFFFF;gg=(gg/2)*3;ii&=n;ee&=n/2;}for(b=0;b<
  6. bm;b++){q=1<<b%16;if(m%2)cc=j;if(m==4){im=15000;bm=20;}if(!b){s=0;v=(m*15-100>0?m*15-30:0); e=p[0]/8;nn=0;d=1;if(!m)s=1;}if(gg&q){v2=255;
  7. e2=p[0]/8;oo=0;kk=n%6;}y=(!(ee&q)+!(ii&q));if(y)v3=16-8*(y>0);if(!(ff&q)){t=1;hh=0;z=9;st=0;}else{if(m>6)ff&=~q;}if(!(b%20))x+=n;if(!(b%\
  8. 16))d2=(d2+1)%7;dd+=n;for(i=0;i<im;i++){if(m==13){if(im<80000)im+=2000;if(!(i%120000)){k++;if(k>5)return 0;}}if(v2&&!(i%1605))v2-=kk;if(s
  9. &&v&&!(i%1650))v--;if((v<=255)&&!s&&!(i%(150-m*10)))(v==255)?s=1:v++;if(!(i%25000))d=(d+1)%7;if(z>2&&(!(i%500)))z--;if(!(i%4)){if((!t)||(
  10. t==0xFF)&&!st)hh=~hh;if(st)hh=0;if(hh){t=(0xFF-t<z)?0xFF:t+z;}else{t=(z>t)?0x0:t-z;}}if(!(i%e)||i%e==(e)>>du[d])a=~a;if(!(i%l)){nn=(1+nn+
  11. (x>>m)&7)%10;ll=(m>12?0:m)+cc[nn]+oi[(2*(x>>m)&7)%8];e=(p[ll%12]>>(1+((m/3)+(ll/12))%5));}if(!((i+50)%e2)||(i+50)%e2==(e2)>>du[d2])a2=~a2
  12. ;if(!(i%u)){oo=((m<4?b:40-b))%24;ll=f[oo]+oi[((x)&0x3)%8];e2=(p[ll%12]>>2+((m/3)+(ll/12))%5);}n=((((((unsigned char)(n>>8&0xB8))*0x01010\
  13. 10101010101ULL)&0x8040201008040201ULL)%0x1FF)&1)+(n<<1);if(!(i%(200+450*y))&&v3<16)v3++;g=((bb[(i+1)%44100]+(a*v/550)+(a2*v2/550)+(mm&((t
  14. &0xFF)+(0xFF&(n>>v3)))))<<6)>>k;bb[i%44100]=a2>>(m>4?4:2);putchar(g);putchar(g/256);if(!(i%100)&&im>1500)im--;}}}}
Advertisement
RAW Paste Data Copied
Advertisement