#define do(x) int x(int #define uc unsigned*const #define string __FILE__ #define while putchar #ifndef ioctl #include #define ioctl(b,A,B) *G(m+A,y+B)|(b&&*G(m-A,y-B)) static unsigned X=50,Y=16,x, y,e[4],*w;static uc G(int,int); static const char*s,*q,*v=" -|+" "gasUs :ej1gix<[ ezis<[ >zisy]]>ef \n\n0a c0h d0f d3fh0gh0h" "f0fg\n0gj1g0bh5bf2g3zk1g\n2b\n3gk2e0bh5bf4b1e\n0zk2b\n\n\n"; static void GRUU(unsigned const g,uc a,uc b,uc c,uc d){unsigned *A, *B,*z,D,E;for(; (E=*s++) !='\n';)switch(E- v[44 #include string #define puf /* -| GRUU! |- */ (char)(int)E #define dih(c,p,J) (puf-*#c)?J:(p=c) #define bca(do,g,while) do GRUU(g,a,b,c,d);while break; ]){case 0:gd(A)if(*s-' '){gd(B)g?*A=*B:0;break;}s++;gd(B)g? *A=rand()%*B&~1:0;break;case 1:gd(A)g?--*A:0;break;case 2:gd(A) g?++*A:0;break;case 3:bca(gd(A)gd(B),g&&(*A<*B),)case 4:bca(gd(A), g&&!(*A%2),)case 5:for(;(q=s);s=q){bca(gd(A)gd(B),D=(g&&*A<=*B), if(!D))}}}do(while));static uc G(int m,int n){if(!w){for(X=--m| 1,Y=1|--n,w=(uc)calloc(sizeof(X),X*Y+X*2);X>x||xx?*G(x ,0)=*G(x,Y-1)=1:0,Y>x&&x>1?*G(0,x)=*G(X-1,Y-1-x)=1:0;for(*e=(X-3) *(Y-3)/4;*e;1&*e?GRUU(*w,&x,&y,&X,&Y):GRUU(*w,&y,&x,&Y,&X))s=v+40; for(y=0;Y>y;while('\n'),y++)for(m=0;m^X;while(v[(x+n+n)**G(m++,y)] ))x=ioctl(m,1,0),n=ioctl(y,0,1);}return&m<:n*(X+1)+w];}do(main)A, const char**V){do(time));for(srand(time(x));34^2[e];while((v+4)[e [2]++^3]));for(;--A;)*(e[1]++?&Y:&X)=atoi(*++V);return(int)G(X,Y);} #else/*x>1?*GRUU(0,x)=*G(X-for(y=0;Y>y;while('\n')ioctl(2,1,1)*/ #define gd(p) z=G(x,y),D=(E=*s++)-'j',dih(a,p,dih\ (b,p,dih(c,p,dih(d,p,puf<'i'?p=e+E-'e':dih(z,p,p=&D))))); #endif /* End of code. The fat thing is a gruu... -monster. */