IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

1984/laman - Third Place

prints spiralling numbers laid out in columns

Author:

To build:

    make all

Bugs and (Mis)features:

The current status of this entry is:

STATUS: INABIAF - please DO NOT fix

For more detailed information see 1984/laman in bugs.html.

To use:

    ./laman <positive number>

Try:

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

    ./try.sh

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

Primary files

Secondary files


Jump to: top