Files
ioccc/1985/august
Cody Boone Ferguson 009e1b7522 Link in SECURITY.html to all web pages
The location of the link is in the About menu under the 'Contacting the
IOCCC' and above 'Thanks for the help'. At first I had it at the very
bottom, under 'IOCCC markdown guidelines', but it seemed better to have
it closer to contacting the IOCCC. This is the same location in the no
JavaScript menu (which, for those who do not know or forget, is not a
requirement except for some screen sizes).

The top level Makefile has a new 'security' rule. Updated make help.

Typo fixes in make help.

SECURITY.html has had a few updates as well: change the wording of entry
code is unsupported (it now says 'ALL CODE IN ALL IOCCC ENTRIES IS
UNSUPPORTED!!') and it now links to the mkiocccentry repo and how to
report a possible security vulnerability in that repo; as that IS
supported - and since there was reference to discussing security
concerns is in SECURITY.html - even though the entries will not receive
security updates - it seemed a good idea to have a link to report such
security issues in the mkiocccentry repo. Perhaps the FAQ needs to be
updated for this too.
2024-07-15 08:55:54 -07:00
..
2023-07-06 21:49:38 -07:00

To build:

    make all

To use:

    ./august

Try:

    ./try.sh

If you have the primes(6) tool (sometimes part of BSD Games) you can see what of the output in the first N (say 15 or 25) lines are primes:

    ./primes.sh # 15
    ./primes.sh 25

Note that try.sh will run this script anyway, telling you where to get primes(6) if you don't have it installed, but it will only run with the default value of 15, rather than trying several different values.

Judges' remarks:

An interesting use of a recursive call to main(). Compile and execute without args. What is the initial value of b? Does it alter the action of the program?

If you let it, the program will continue to print a numerical sequence (can you guess in what base it is printed by looking at the code?) until you run out of memory or until they sell your computer, whichever comes first.

If you use the primes.sh script can you figure out if there's anything funny going on with the output?

Author's remarks:

No remarks were provided by the author.