Files
ioccc/1989/vanb
Cody Boone Ferguson e1e4ad36ee Manifest updates
Change 'entry web page' to 'this web page' as per discussion on GitHub.

Rebuilt .entry.json and index.html files for all entries.
2024-04-05 07:42:24 -07:00
..
2024-04-05 07:42:24 -07:00
2024-04-05 07:42:24 -07:00
2024-03-13 00:38:46 -07:00
2022-09-18 23:37:49 -07:00
2023-07-06 21:49:38 -07:00

To build:

    make all

Try:

    ./try.sh

Judges' remarks:

This program computes all proper subsets of the set of arguments passed to it. Each subset is printed with one element on each line, followed by a line of ten dashes.

Author's remarks:

The program has the following charming and possibly non-portable features:

  • It has no local or global variables, only the command-line parameters.

  • It calls main() recursively.

  • It alters the command-line parameters.

  • It uses the fact that if the high bit is set in a character variable, the value is negative.