Author:
- Name: Andrea Marangoni
Location: IT - Italian Republic (Italy)
To build:
make all
To use:
./marangon
Judges’ remarks:
The object is to refill the table with 5s, by incrementing or decrementing
numbers as needed. It is the side effects that get you into trouble. If you
are not careful, you may find things “at 6s and 7s”. :-)
NOTE: Some compilers have had trouble optimizing this entry.
NOTE: Some systems need to compile with -ltermcap as well as -lcurses.
NOTE: The original winning source
marangon.orig.c assumed that
exit(3) returns a value which cause problems for some systems where exit(3)
returns a void. The file marangon.c
avoids this problem.
Author’s remarks:
It starts off by creating a table with the number 5 in all places. The CPU melts
the numbers and you must return them to the original state. When you increase a
number, all the other eight numbers next to it decrease and vice-versa.
Inventory for 1992/marangon
Primary files
- marangon.c - entry source code
- Makefile - entry Makefile
- marangon.orig.c - original source code
Secondary files
- 1992_marangon.tar.bz2 - download entry tarball
- README.md - markdown source for this web page
- .entry.json - entry summary and manifest in JSON
- .gitignore - list of files that should not be committed under git
- .path - directory path from top level directory
- index.html - this web page
