Files
ioccc/1992/marangon
Landon Curt Noll d414b6d71f add quick-readme2index.sh, improve all-run.sh and readme2index.sh
Improved `all-run.sh` and `readme2index.sh` so that
certain command line options (e.g., -p, -P, -u, -U ...)
are only passed along to other tools if they are
given on the command line.

all-run.sh VERSION changed from "1.1.1 2024-01-19"
to "1.1.2 2024-01-20",

readme2index.sh VERSION changed from "1.1 2024-01-16"
to "1.1.1 2024-01-20".

Added `quick-readme2index.sh` that only calls
`readme2index.sh` if the `index.html` is not
a non-empty file, or of either `.winner.json`
and/or `README.md` is newer than `index.html`.

Updated all `index.html` files because the
the file contains a comment that includes
the newly modified readme2index.sh VERSION.
2024-01-21 00:21:40 -08:00
..
2023-12-26 09:00:03 -08:00
2023-07-06 21:49:38 -07:00

To build:

make all

To use:

./marangon

Judges' remarks:

The object is to refill the table with 5's, 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 6's and 7's". :-)

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, found in the archive directory, 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 number 5 in all places. The CPU melts the numbers and you must return them in original state. When you increase a number, all the other eight numbers next to it decrease and vice-versa.

This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. You are free to share and adapt this file under the terms of this license:

Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

For more information, see: https://creativecommons.org/licenses/by-sa/4.0/