Files
ioccc/2015/endoh3/prog.orig.c
T
Landon Curt Noll 2ba12ecc3c restore *.orig.c to each entry
Under each yyyy/dir there is a file of the form '*.orig.c'
containing the original source code, or as close as we can
get to the original source code.
2023-07-06 21:49:38 -07:00

25 lines
1.1 KiB
C

#include /*recall-the\ /-good--old-\ /IOCCC-days!\ */<unistd.h>
typedef unsigned/*int*/ short U;U(main) [32768],n,r[8]; __attribute__((
# define R(x) A(r[ 7-(n >>x& 7)], (n>> x>>3 )%8)
#define C(x) (U*) ((/* |IO| -dpd
*/char*) main +(x) )/*| |CC| ll*/
# define A(v, i)(i ?i<2 ?C(v ):i\
-4?v+=2, C(i- 6?v- 2:v+ *C(v -2)) :C(v -=2) :&v)
/*lian*/ constructor))U( x)(){for(;;*r+= 2,*r+=!n?_exit( write(2,"Illeg"
"al ins" "truction ;-" "(\n",24)),0: n>>8==001?( signed char
)n*2 :548==n>> 6&&usleep /**/(10
)+n% 64== 4?0* write (r[7 /**/],C(
*C(* r)), *C(* r+2) )+4: /**/ n>>9
==63 &&--r[7-n/ 64%8]?n%+ /**/ 64*-
2:0, n>>6 ==47 ?*R( 0):n>>12==1?
*R(0 )=*R (+6) :n>> 12==+ 14?*
R(0) -=*R(2*3) :0)n=*C(* r);}