Renamed `ioccc.ico` to `favicon.ico`. Correctly added use of `favicon.ico` to all constructed HTML headers. Fixed the smart quote in HTML elements problem. Moved HTML "DO NOT EDIT" comments down below at the bottom of the HTML phase 1 section. According to to the Nu Html Checker, a charset attribute on a meta element found after the first 1024 bytes. Changed `bin/md2html.sh` VERSION from "1.1.3 2024-03-28" to "1.2 2024-03-30". Improved `bin/gen-status.sh` to adjust the "status_update" value only when the "contest_status" is changed. Performed a `make www` to perform and test the above under macOS.
To build:
make all
Bugs and (Mis)features:
The current status of this entry is:
STATUS: uses gets() - change to fgets() if possible
For more detailed information see 1996 huffman bugs.
To use:
echo 'Huffman Decoding' | ./huffman
Try:
./try.sh
Judges' remarks:
If you are still confused and want to read a spoiler, check out the source and it will be clear as mud!
And for a misleading hint, consider who won! :-)
And if you really can't see what is going on, here is an extra spoiler:
./huffman < huffman.c 2>/dev/null
This entry was very well received at the IOCCC BOF.
Author's remarks:
This filter program is really not obfuscated code. It compiles cleanly with an ANSI C compiler and comes with user documentation that even a blind person could read.
The program is a bidirectional filter with the output of the program suitable for its input. The output of this program, when used as input, undoes the original program filtering.
This program accepts any alphanumeric text that has lines less than 100 characters. The user is encouraged to use the program's source as input to the executable.
This program is best appreciated on a tactile monitor.