IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

1984/laman - Third place

← decot ↑ 1984 ↑ mullender → C code Makefile Inventory





Author:

To build:

make all

To use:

./laman <positive number>

Try:

The program accepts ONE POSITIVE number. Seeing is believing, so try things like:

./try.sh

./laman 4
./laman 9
./laman 16

This code should run you in circles.

Judges’ remarks:

Some new compilers (in 1984) dislike lines 6 and 10 of the source, so we changed them from:

;++f)a[     b<<5|c]     =d++,b+     =e;for(     f=0;f<O
<<5|c]^     =a[b<<5     |c]^=a[     (k-(b+1     ))<<5|c]

to:

;++f)a[     b<<5|c]     =d++,b+=    e;for(      f=0;f<O
<<5|c]^=    a[b<<5      |c]^=a[     (k-(b+1     ))<<5|c]

I hope you have a C beautifier!

Author’s remarks:

No remarks were provided by the author.

Inventory for 1984/laman

Jump to top

Primary files

Secondary files