fix standard headers and header spacing in winner README.md files
This commit is contained in:
1 parent
50837e452e
commit
fbd20cfdc2
319 files changed
+1601
-382
No files matched your search
@@ -2,12 +2,14 @@
|
|||||||
|
|
||||||
Anonymous
|
Anonymous
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -35,6 +37,7 @@ NOTE: this version might not work on some systems like macOS.
|
|||||||
./anonymous.alt
|
./anonymous.alt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The author was too embarrassed that they could write such trash, so I
|
The author was too embarrassed that they could write such trash, so I
|
||||||
@@ -52,6 +55,7 @@ the code, this is what it looks like:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
### On remaining anonymous:
|
### On remaining anonymous:
|
||||||
@@ -83,6 +87,7 @@ have started with main). On the other hand the author likes the "two line look"
|
|||||||
and the way `hell o` was split. :-) And they like the fact that it ends in a
|
and the way `hell o` was split. :-) And they like the fact that it ends in a
|
||||||
smily face: `;}`.
|
smily face: `;}`.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Dave Decot
|
Dave Decot
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -13,7 +14,7 @@ you have an old enough compiler or a compiler that supports `-traditional-cpp`.
|
|||||||
The original code was fixed in 2023 to not require this.
|
The original code was fixed in 2023 to not require this.
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -48,6 +49,7 @@ make alt
|
|||||||
./decot.alt
|
./decot.alt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This program prints out a string of garbage.
|
This program prints out a string of garbage.
|
||||||
@@ -83,6 +85,7 @@ for(signal=0;*k *= * __FILE__ *i;) do {
|
|||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
The program accepts ONE POSITIVE number. Seeing is believing, so try things
|
The program accepts ONE POSITIVE number. Seeing is believing, so try things
|
||||||
like:
|
like:
|
||||||
@@ -30,6 +30,7 @@ like:
|
|||||||
|
|
||||||
This code should run you in circles.
|
This code should run you in circles.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Some new compilers (in 1984) dislike lines 6 and 10 of the source, so we changed
|
Some new compilers (in 1984) dislike lines 6 and 10 of the source, so we changed
|
||||||
@@ -49,10 +50,12 @@ to:
|
|||||||
|
|
||||||
I hope you have a C beautifier!
|
I hope you have a C beautifier!
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ to use the alt version instead. See [original code](#original-code) below for
|
|||||||
the original version.
|
the original version.
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -54,7 +54,6 @@ which is probably not as uncommon as you think :-).
|
|||||||
|
|
||||||
### Try:
|
### Try:
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./mullender.alt
|
./mullender.alt
|
||||||
|
|
||||||
@@ -67,7 +66,7 @@ which is probably not as uncommon as you think :-).
|
|||||||
./mullender.alt 100000
|
./mullender.alt 100000
|
||||||
|
|
||||||
./mullender.alt2 500
|
./mullender.alt2 500
|
||||||
# wait for 500 microseconds and see what happens
|
\# wait for 500 microseconds and see what happens
|
||||||
```
|
```
|
||||||
|
|
||||||
What happens if you hit enter after it reaches the end of the line? Why? What
|
What happens if you hit enter after it reaches the end of the line? Why? What
|
||||||
@@ -84,7 +83,6 @@ machine dependent code was discouraged.
|
|||||||
|
|
||||||
### Original build:
|
### Original build:
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -4,27 +4,32 @@ Jack Applin [with help from Robert Heckendorn]\
|
|||||||
US\
|
US\
|
||||||
<https://www.cs.colostate.edu/~applin/>
|
<https://www.cs.colostate.edu/~applin/>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./applin
|
./applin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
One liner programs are short but twisted. This "Hello, world!" version
|
One liner programs are short but twisted. This "Hello, world!" version
|
||||||
certainly takes its time saying hello.
|
certainly takes its time saying hello.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,19 +3,22 @@
|
|||||||
Lennart Augustsson\
|
Lennart Augustsson\
|
||||||
<https://web.archive.org/web/20090831055828/http://www.cs.chalmers.se/~augustss>
|
<https://web.archive.org/web/20090831055828/http://www.cs.chalmers.se/~augustss>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./august
|
./august
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./august | head -n 10
|
./august | head -n 10
|
||||||
@@ -44,10 +47,12 @@ memory or until they sell your computer, whichever comes first.
|
|||||||
If you use the [primes.sh](primes.sh) script can you figure out if there's
|
If you use the [primes.sh](primes.sh) script can you figure out if there's
|
||||||
anything funny going on with the output?
|
anything funny going on with the output?
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ Ed Lycklama
|
|||||||
make alt
|
make alt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -18,7 +19,8 @@ make alt
|
|||||||
To see why we recommend the alternate version instead of the original version,
|
To see why we recommend the alternate version instead of the original version,
|
||||||
see below and the [original code](#original-code) section.
|
see below and the [original code](#original-code) section.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
This alternate version, which we recommend you you try first, prior to the
|
This alternate version, which we recommend you you try first, prior to the
|
||||||
original, so that you can see what it does in modern systems, slows down the
|
original, so that you can see what it does in modern systems, slows down the
|
||||||
@@ -48,6 +50,7 @@ which would set it at 700. Then, whether you use the default value or not, try:
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Original code:
|
## Original code:
|
||||||
|
|
||||||
As explained above, because modern systems run this entry way too fast to fully
|
As explained above, because modern systems run this entry way too fast to fully
|
||||||
@@ -55,14 +58,15 @@ appreciate what it does, we encourage you to first try the alternate version.
|
|||||||
After this, however, you might wish to try the original version, fixed for
|
After this, however, you might wish to try the original version, fixed for
|
||||||
modern systems.
|
modern systems.
|
||||||
|
|
||||||
|
|
||||||
### Original build:
|
### Original build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
### Original use:
|
|
||||||
|
|
||||||
|
### Original use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./lycklama < some_file
|
./lycklama < some_file
|
||||||
@@ -88,6 +92,7 @@ The program itself looks like tty noise.
|
|||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -2,13 +2,15 @@
|
|||||||
|
|
||||||
Carl Shapiro
|
Carl Shapiro
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./shapiro
|
./shapiro
|
||||||
@@ -25,10 +27,12 @@ This program was selected for the 1987 t-shirt collection.
|
|||||||
We found this program is be simply a**maze**ing! Run this program without
|
We found this program is be simply a**maze**ing! Run this program without
|
||||||
arguments and notice the output.
|
arguments and notice the output.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Col. G. L. Sicherman
|
Col. G. L. Sicherman
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -11,6 +12,7 @@ make all
|
|||||||
NOTE: there is an [alternate version](#alternate-code) for those who have an old
|
NOTE: there is an [alternate version](#alternate-code) for those who have an old
|
||||||
enough compiler or have a compiler that supports the option `-traditional-cpp`.
|
enough compiler or have a compiler that supports the option `-traditional-cpp`.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -19,7 +21,8 @@ enough compiler or have a compiler that supports the option `-traditional-cpp`.
|
|||||||
echo foo | ./sicherman
|
echo foo | ./sicherman
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./sicherman < sicherman.c
|
./sicherman < sicherman.c
|
||||||
@@ -55,6 +58,7 @@ make alt
|
|||||||
./sicherman.alt < README.md | ./sicherman.alt
|
./sicherman.alt < README.md | ./sicherman.alt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This program abuses the C preprocessor so much that some `cpp`s fail to strip
|
This program abuses the C preprocessor so much that some `cpp`s fail to strip
|
||||||
@@ -82,6 +86,7 @@ results in diff reporting a difference on some machines.
|
|||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -4,19 +4,22 @@ Jack Applin\
|
|||||||
US\
|
US\
|
||||||
<https://www.cs.colostate.edu/~applin/>
|
<https://www.cs.colostate.edu/~applin/>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./applin
|
./applin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh applin.c
|
sh applin.c
|
||||||
@@ -27,15 +30,16 @@ sh applin.c
|
|||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
|
|
||||||
The judges were so amused by this little program that we created an
|
The judges were so amused by this little program that we created an
|
||||||
award just for it. This program is portable to the C and Fortran 77
|
award just for it. This program is portable to the C and Fortran 77
|
||||||
compilers as well as executable by the Bourne shell!
|
compilers as well as executable by the Bourne shell!
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
Lennart Augustsson\
|
Lennart Augustsson\
|
||||||
<https://web.archive.org/web/20090831055828/http://www.cs.chalmers.se/~augustss>
|
<https://web.archive.org/web/20090831055828/http://www.cs.chalmers.se/~augustss>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -10,7 +11,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -21,7 +22,7 @@ STATUS: INABIAF - please **DO NOT** fix
|
|||||||
For more detailed information see [1986 august in bugs.md](/bugs.md#1986-august).
|
For more detailed information see [1986 august in bugs.md](/bugs.md#1986-august).
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./august
|
./august
|
||||||
@@ -38,10 +39,12 @@ dump.
|
|||||||
This program will pass lint on your system assuming your lint is brave
|
This program will pass lint on your system assuming your lint is brave
|
||||||
enough to try and parse it correctly.
|
enough to try and parse it correctly.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -2,19 +2,22 @@
|
|||||||
|
|
||||||
Walter Bright
|
Walter Bright
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./bright some_file
|
./bright some_file
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./bright bright.c
|
./bright bright.c
|
||||||
@@ -22,6 +25,7 @@ make all
|
|||||||
./bright bright
|
./bright bright
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Compile this program and give a filename as an argument.
|
Compile this program and give a filename as an argument.
|
||||||
@@ -31,10 +35,12 @@ excessive shifting to obfuscate an otherwise useful binary display
|
|||||||
program. This gives you a small example of what it is like to
|
program. This gives you a small example of what it is like to
|
||||||
maintain the Bourne shell! :-}
|
maintain the Bourne shell! :-}
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,12 +3,14 @@
|
|||||||
Jim Hague\
|
Jim Hague\
|
||||||
UK
|
UK
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -16,7 +18,8 @@ make all
|
|||||||
# enter some text
|
# enter some text
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./hague 2>/dev/null
|
./hague 2>/dev/null
|
||||||
@@ -45,10 +48,12 @@ similar variables can be obfuscating! The author noted that this
|
|||||||
program implements the international Morse standard. Now for extra
|
program implements the international Morse standard. Now for extra
|
||||||
credit, what Morse message does the program spell out?
|
credit, what Morse message does the program spell out?
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,13 +3,15 @@
|
|||||||
Bruce Holloway\
|
Bruce Holloway\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./holloway
|
./holloway
|
||||||
@@ -23,10 +25,12 @@ performed in a very complex way. The judges and the author defy you
|
|||||||
to determine how it does it. It is a good thing that K&R didn't use
|
to determine how it does it. It is a good thing that K&R didn't use
|
||||||
this version as the first C program!
|
this version as the first C program!
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Eric Marshall
|
Eric Marshall
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -17,7 +18,7 @@ might work but the other one would not. We describe this in more detail in
|
|||||||
if nothing else.
|
if nothing else.
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./marshall
|
./marshall
|
||||||
@@ -59,11 +60,11 @@ from printing a program!
|
|||||||
This program was selected for the 1987 t-shirt collection.
|
This program was selected for the 1987 t-shirt collection.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,28 +3,33 @@
|
|||||||
Michael H. Pawka\
|
Michael H. Pawka\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./pawka
|
./pawka
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The judges found this entry to be one of hardest to read without the
|
The judges found this entry to be one of hardest to read without the
|
||||||
aid of `/lib/cpp` and a good editor. When run, the program asks if it
|
aid of `/lib/cpp` and a good editor. When run, the program asks if it
|
||||||
is obfuscated, of all things!
|
is obfuscated, of all things!
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -2,18 +2,21 @@
|
|||||||
|
|
||||||
Jan Stein
|
Jan Stein
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./stein $(printf "\015\015"); echo
|
./stein $(printf "\015\015"); echo
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
NOTE: to avoid problems with news and mail, the single line was split
|
NOTE: to avoid problems with news and mail, the single line was split
|
||||||
@@ -33,10 +36,12 @@ to get the command to output cleanly:
|
|||||||
Your system may require another set of characters.
|
Your system may require another set of characters.
|
||||||
In time, you will figure out what it does. :-)
|
In time, you will figure out what it does. :-)
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,12 +3,14 @@
|
|||||||
Larry Wall\
|
Larry Wall\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -37,6 +39,7 @@ NOTE: gcc in macOS is actually clang even the binary `/usr/bin/gcc`.
|
|||||||
|
|
||||||
Use `./wall.alt` as you would `./wall`.
|
Use `./wall.alt` as you would `./wall`.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The original version did not have a ';' character in the first line.
|
The original version did not have a ';' character in the first line.
|
||||||
@@ -50,10 +53,12 @@ consider the warning message generated by the C compiler. Then execute the
|
|||||||
program and type characters into its standard input. You will see why the
|
program and type characters into its standard input. You will see why the
|
||||||
compiler documents the program.
|
compiler documents the program.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
Mark Biggar\
|
Mark Biggar\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -16,12 +17,14 @@ make all
|
|||||||
some_command | ./biggar | od -c
|
some_command | ./biggar | od -c
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./biggar < biggar.c | od -c
|
./biggar < biggar.c | od -c
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
By changing the compile line you can make this program do anything you
|
By changing the compile line you can make this program do anything you
|
||||||
@@ -50,6 +53,7 @@ an infinite loop by this entry.
|
|||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Paul Heckbert\
|
Paul Heckbert\
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -11,6 +12,7 @@ make all
|
|||||||
On System V systems, we had to compile with `-Dindex=strchr`.
|
On System V systems, we had to compile with `-Dindex=strchr`.
|
||||||
To compile on a 16 bit machine, change 300000 to 30000.
|
To compile on a 16 bit machine, change 300000 to 30000.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -19,7 +21,8 @@ To compile on a 16 bit machine, change 300000 to 30000.
|
|||||||
|
|
||||||
where col is the number of columns to fold at and file is the file to fold.
|
where col is the number of columns to fold at and file is the file to fold.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./heckbert 40 < heckbert.c > ph.c; make ph
|
./heckbert 40 < heckbert.c > ph.c; make ph
|
||||||
@@ -33,6 +36,7 @@ Ask yourself what happens to `foo.md` if you try:
|
|||||||
./ph 40 < README.md > foo.md
|
./ph 40 < README.md > foo.md
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Folding at the wrong length may be equivalent to a "Spindle or Mutilate" operation. For example:
|
Folding at the wrong length may be equivalent to a "Spindle or Mutilate" operation. For example:
|
||||||
@@ -50,10 +54,12 @@ very long lines which the BSD fold(1)\
|
|||||||
was unable to process. This program has\
|
was unable to process. This program has\
|
||||||
been added to the contest tool chest.
|
been added to the contest tool chest.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,19 +3,22 @@
|
|||||||
Spencer Hines\
|
Spencer Hines\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./hines file.c
|
./hines file.c
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./hines hines.c
|
./hines hines.c
|
||||||
@@ -32,6 +35,7 @@ make alt
|
|||||||
|
|
||||||
Use `hines.alt` as you would `hines` above.
|
Use `hines.alt` as you would `hines` above.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This program was designed to maximize the bother function for
|
This program was designed to maximize the bother function for
|
||||||
@@ -48,6 +52,7 @@ See the Communications of the ACM, March 1987, Page 195-196.
|
|||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,18 +3,21 @@
|
|||||||
David Korn\
|
David Korn\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./korn
|
./korn
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The Judges believe that this is the best one line entry ever received.
|
The Judges believe that this is the best one line entry ever received.
|
||||||
@@ -61,6 +64,7 @@ improved version of the [/bin/sh](https://en.wikipedia.org/wiki/Bourne_shell).
|
|||||||
The source for [v7](https://en.wikipedia.org/wiki/Version_7_Unix)'s /bin/sh
|
The source for [v7](https://en.wikipedia.org/wiki/Version_7_Unix)'s /bin/sh
|
||||||
greatly inspired this contest.
|
greatly inspired this contest.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
Roemer B. Lievaart\
|
Roemer B. Lievaart\
|
||||||
Netherlands
|
Netherlands
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -12,6 +13,7 @@ make all
|
|||||||
There is [Alternate code](#alternate-code) available for if you have an old
|
There is [Alternate code](#alternate-code) available for if you have an old
|
||||||
enough compiler.
|
enough compiler.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -19,7 +21,8 @@ enough compiler.
|
|||||||
# enter a level and start playing as described below
|
# enter a level and start playing as described below
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
To see what it would have looked like without the size restrictions:
|
To see what it would have looked like without the size restrictions:
|
||||||
|
|
||||||
@@ -69,6 +72,7 @@ logic and displays the board after each move! See above for how to use this.
|
|||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+3
-2
@@ -3,6 +3,7 @@
|
|||||||
Larry Wall\
|
Larry Wall\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -21,7 +22,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./wall | bc | ./wall
|
./wall | bc | ./wall
|
||||||
@@ -58,7 +59,6 @@ quit # for the cat version
|
|||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
|
|
||||||
What we found amazing was how the flow of control was transferred between
|
What we found amazing was how the flow of control was transferred between
|
||||||
subroutines. Careful inspection will show that the array of pointers to
|
subroutines. Careful inspection will show that the array of pointers to
|
||||||
functions named `vi` refers to functions which seem to not be directly called.
|
functions named `vi` refers to functions which seem to not be directly called.
|
||||||
@@ -73,6 +73,7 @@ Some compilers complained about this file, so we changed: `=++I` to `= ++I`.
|
|||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -4,12 +4,14 @@ Brian Westley (aka Merlyn Leroy on usenet)\
|
|||||||
US\
|
US\
|
||||||
<http://www.westley.org>
|
<http://www.westley.org>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -36,6 +38,7 @@ If it fails to compile, bug your OS/compiler vendor.
|
|||||||
Line by line symmetry performed better than any C beautifier. Think
|
Line by line symmetry performed better than any C beautifier. Think
|
||||||
of if it as a C ink blot. :-)
|
of if it as a C ink blot. :-)
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Jack Applin\
|
|||||||
US\
|
US\
|
||||||
<https://www.cs.colostate.edu/~applin/>
|
<https://www.cs.colostate.edu/~applin/>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -15,7 +16,8 @@ the source of the alt code), of [applin.c](applin.c), can be found in
|
|||||||
[applin.alt.c](applin.alt.c). Your machine may have an easier time with this
|
[applin.alt.c](applin.alt.c). Your machine may have an easier time with this
|
||||||
program. See the [Alternate code](#alternate-code) section below for details.
|
program. See the [Alternate code](#alternate-code) section below for details.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./applin
|
./applin
|
||||||
|
|||||||
+5
-3
@@ -3,6 +3,7 @@
|
|||||||
Paul Dale\
|
Paul Dale\
|
||||||
Australia
|
Australia
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -10,7 +11,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -21,7 +22,7 @@ STATUS: INABIAF - please **DO NOT** fix
|
|||||||
For more detailed information see [1988 dale in bugs.md](/bugs.md#1988-dale).
|
For more detailed information see [1988 dale in bugs.md](/bugs.md#1988-dale).
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./dale hello world
|
./dale hello world
|
||||||
@@ -51,7 +52,7 @@ Use `dale.alt` as you would `dale` above. To understand the differences in more
|
|||||||
detail, see [thanks-for-fixes.md](/thanks-for-fixes.md).
|
detail, see [thanks-for-fixes.md](/thanks-for-fixes.md).
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks
|
## Judges' remarks:
|
||||||
|
|
||||||
This entry has a very twisted flow of control via recursion, iteration
|
This entry has a very twisted flow of control via recursion, iteration
|
||||||
and multi-processing. Try to understand what is being done with the
|
and multi-processing. Try to understand what is being done with the
|
||||||
@@ -59,6 +60,7 @@ system calls.
|
|||||||
|
|
||||||
NOTE: This program assumes the ASCII character set is being used.
|
NOTE: This program assumes the ASCII character set is being used.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
Mark Isaak\
|
Mark Isaak\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -13,6 +14,7 @@ There is an alternate version, the original, that can't be compiled in modern
|
|||||||
systems but can be if you have an old enough compiler. See [Alternate
|
systems but can be if you have an old enough compiler. See [Alternate
|
||||||
code](#alternate-code) below.
|
code](#alternate-code) below.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -45,6 +47,7 @@ make alt
|
|||||||
|
|
||||||
Use `isaak.alt` as you would `isaak` above.
|
Use `isaak.alt` as you would `isaak` above.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The program relies heavily on ASCII. Don't even think of running it on
|
The program relies heavily on ASCII. Don't even think of running it on
|
||||||
@@ -75,6 +78,7 @@ Since this was fixed, this file is not strictly necessary. See the
|
|||||||
|
|
||||||
FYI: We are likely to be more strict about portability in the future.
|
FYI: We are likely to be more strict about portability in the future.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|||||||
@@ -3,12 +3,14 @@
|
|||||||
Maarten Litmaath\
|
Maarten Litmaath\
|
||||||
The Netherlands
|
The Netherlands
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -18,7 +20,8 @@ make
|
|||||||
There is an alternate version provided. See the [Alternate
|
There is an alternate version provided. See the [Alternate
|
||||||
code](#alternate-code) section below.
|
code](#alternate-code) section below.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./litmaath eschew obfuscation
|
./litmaath eschew obfuscation
|
||||||
@@ -82,6 +85,7 @@ fprintf(stderr,
|
|||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
Ian Phillipps\
|
Ian Phillipps\
|
||||||
UK
|
UK
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -20,6 +21,7 @@ and thus represents a new departure in text compression standards.
|
|||||||
The judges thought that this program looked like what you would get
|
The judges thought that this program looked like what you would get
|
||||||
by pounding on the keys of an old typewriter at random.
|
by pounding on the keys of an old typewriter at random.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ US
|
|||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./reddy
|
./reddy
|
||||||
@@ -27,12 +27,14 @@ char *(*(*(*(*(*fun[32])))))());
|
|||||||
|
|
||||||
? What can you do about it?
|
? What can you do about it?
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This is a somewhat restricted version of a useful program that has been
|
This is a somewhat restricted version of a useful program that has been
|
||||||
posted to Usenet. What is unusual is what it is able to do so much
|
posted to Usenet. What is unusual is what it is able to do so much
|
||||||
in such little space.
|
in such little space.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|||||||
@@ -3,13 +3,15 @@
|
|||||||
Arch D. Robison\
|
Arch D. Robison\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./robison 80 10
|
./robison 80 10
|
||||||
@@ -23,6 +25,7 @@ The first and second parameters are optional. You might also try:
|
|||||||
./robison 80 -246
|
./robison 80 -246
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The following might make an interesting benchmark:
|
The following might make an interesting benchmark:
|
||||||
@@ -48,6 +51,7 @@ new paradigm.) Note that the lack of both the controversial `goto`
|
|||||||
and assignment statements makes the meaning crystal clear. The current\
|
and assignment statements makes the meaning crystal clear. The current\
|
||||||
ANSI committee should look into this practical simplification of C.
|
ANSI committee should look into this practical simplification of C.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -5,13 +5,15 @@ GR\
|
|||||||
<https://www.spinellis.gr/>\
|
<https://www.spinellis.gr/>\
|
||||||
Mastodon: <https://mstdn.social/@DSpinellis>
|
Mastodon: <https://mstdn.social/@DSpinellis>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
rm -f spinellis ; cc spinellis.c -o spinellis < input.txt && ./spinellis
|
rm -f spinellis ; cc spinellis.c -o spinellis < input.txt && ./spinellis
|
||||||
@@ -37,6 +39,7 @@ and try:
|
|||||||
cc spinellis.alt.c -o spinellis.alt < input2.txt && ./spinellis.alt
|
cc spinellis.alt.c -o spinellis.alt < input2.txt && ./spinellis.alt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
We enjoyed this entry this year; however in the future programs must be able to
|
We enjoyed this entry this year; however in the future programs must be able to
|
||||||
@@ -51,6 +54,7 @@ to perform. A trivial example is given in the `how to compile' section but the
|
|||||||
possibilities are clearly limited only by your imagination and programming
|
possibilities are clearly limited only by your imagination and programming
|
||||||
skills.
|
skills.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Merlyn LeRoy (Brian Westley)\
|
|||||||
US
|
US
|
||||||
<http://www.westley.org>
|
<http://www.westley.org>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -14,7 +15,7 @@ NOTE: this version is a fixed version for modern C compilers. See the [Alternate
|
|||||||
code](#alternate-code) section below for how to use the original.
|
code](#alternate-code) section below for how to use the original.
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./westley
|
./westley
|
||||||
@@ -28,6 +29,7 @@ Also try:
|
|||||||
|
|
||||||
to show the code with followed by the result so you can truly see the magic.
|
to show the code with followed by the result so you can truly see the magic.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Your compiler must parse
|
Your compiler must parse
|
||||||
@@ -72,7 +74,6 @@ Does it show the same output as `westley`?
|
|||||||
No remarks were provided by the author.
|
No remarks were provided by the author.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
Jay Vosburgh\
|
Jay Vosburgh\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -10,7 +11,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -27,7 +28,8 @@ For more detailed information see [1989 fubar in bugs.md](/bugs.md#1989-fubar).
|
|||||||
./fubar <number>
|
./fubar <number>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./fubar 2
|
./fubar 2
|
||||||
@@ -45,6 +47,7 @@ Do you know why?
|
|||||||
NOTE: the file `ouroboros.c` is created by the program itself so this is why it
|
NOTE: the file `ouroboros.c` is created by the program itself so this is why it
|
||||||
is not in the repository.
|
is not in the repository.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
In a nutshell, this is probably the slowest and most
|
In a nutshell, this is probably the slowest and most
|
||||||
@@ -60,6 +63,7 @@ works by successively modifying #define lines each pass through.
|
|||||||
Both `indent` and `cb` will damage the program, `indent`
|
Both `indent` and `cb` will damage the program, `indent`
|
||||||
much more so.
|
much more so.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ Otakaari 1\
|
|||||||
02150 Espoo\
|
02150 Espoo\
|
||||||
Finland
|
Finland
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
NOTE: this will run the program itself.
|
NOTE: this will run the program itself.
|
||||||
@@ -18,6 +19,7 @@ make clobber all
|
|||||||
There is an alternate version with a slight difference that you may wish to try.
|
There is an alternate version with a slight difference that you may wish to try.
|
||||||
See [Alternate code](#alternate-code) below.
|
See [Alternate code](#alternate-code) below.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
NOTE: this will run the program itself:
|
NOTE: this will run the program itself:
|
||||||
@@ -91,12 +93,14 @@ more apparent, as was the case when using dumb CRT terminals (some
|
|||||||
do dumb that they couldn't even process simple ANSI escape sequences)
|
do dumb that they couldn't even process simple ANSI escape sequences)
|
||||||
were more common.
|
were more common.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This program is (supposedly) the smallest C program able to print "Hello
|
This program is (supposedly) the smallest C program able to print "Hello
|
||||||
world.". The compilation itself produces the desired printout and the program
|
world.". The compilation itself produces the desired printout and the program
|
||||||
need not be actually run.
|
need not be actually run.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ Otakaari 1\
|
|||||||
02150 Espoo\
|
02150 Espoo\
|
||||||
Finland
|
Finland
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -27,7 +28,8 @@ make all
|
|||||||
|
|
||||||
NOTE: this entry will likely segfault on invalid input.
|
NOTE: this entry will likely segfault on invalid input.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./try.sh
|
./try.sh
|
||||||
@@ -114,6 +116,7 @@ made using string representations of the lists. These operations
|
|||||||
must count parentheses and skip whitespace. This leads to extremely
|
must count parentheses and skip whitespace. This leads to extremely
|
||||||
poor performance!
|
poor performance!
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ ETH - Zentrum\
|
|||||||
8092 Zuerich\
|
8092 Zuerich\
|
||||||
Switzerland
|
Switzerland
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -14,6 +15,7 @@ make all
|
|||||||
|
|
||||||
To get this to compile with a modern CPP, we had to replace `#D` with `#define`.
|
To get this to compile with a modern CPP, we had to replace `#D` with `#define`.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
Run the program this way:
|
Run the program this way:
|
||||||
@@ -25,7 +27,8 @@ Run the program this way:
|
|||||||
The program stops when it reaches the end of the template buffer\
|
The program stops when it reaches the end of the template buffer\
|
||||||
by chance or is killed.
|
by chance or is killed.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./ovdluhe < ./ovdluhe.c
|
./ovdluhe < ./ovdluhe.c
|
||||||
@@ -66,7 +69,6 @@ such as mailboxes, man pages and usenet articles are especially
|
|||||||
recommended. You will get different output each time you run it.
|
recommended. You will get different output each time you run it.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This program implements an "Eddington ape" - it generates
|
This program implements an "Eddington ape" - it generates
|
||||||
@@ -86,6 +88,7 @@ sentences can be dramatically random.
|
|||||||
You might want to vary the definition of P between 2 and 10 and
|
You might want to vary the definition of P between 2 and 10 and
|
||||||
observe the result.
|
observe the result.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+5
-1
@@ -3,6 +3,7 @@
|
|||||||
Paul E. Black\
|
Paul E. Black\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -12,7 +13,8 @@ make all
|
|||||||
There is an alternate version with a trace routine that the author had commented
|
There is an alternate version with a trace routine that the author had commented
|
||||||
out. See [alternate code](#alternate-code) below for more details.
|
out. See [alternate code](#alternate-code) below for more details.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./paul
|
./paul
|
||||||
@@ -56,6 +58,7 @@ and joining lines 12 and 13 together without a space.
|
|||||||
However as this is no longer a problem the trailing `\` has been restored in all
|
However as this is no longer a problem the trailing `\` has been restored in all
|
||||||
versions, both the original and the fixed for modern systems version.
|
versions, both the original and the fixed for modern systems version.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This programs computes and prints Fibonacci numbers by
|
This programs computes and prints Fibonacci numbers by
|
||||||
@@ -140,6 +143,7 @@ the program. Besides it is fun to watch the tape zooming back
|
|||||||
and forth as the program runs. A much better debugger or trace
|
and forth as the program runs. A much better debugger or trace
|
||||||
could easily be added.
|
could easily be added.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
Arch D. Robison\
|
Arch D. Robison\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -10,7 +11,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -28,7 +29,8 @@ For more detailed information see [1989 robison in bugs.md](/bugs.md#1989-robiso
|
|||||||
# enter valid expressions
|
# enter valid expressions
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./robison
|
./robison
|
||||||
@@ -50,6 +52,7 @@ echo 100 / 100 | ./robison # <-- what happens here ?
|
|||||||
This program will very likely crash or break into tiny bits :-) if you feed it
|
This program will very likely crash or break into tiny bits :-) if you feed it
|
||||||
numbers with non-binary digits.
|
numbers with non-binary digits.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Sites with punch card facilities will be happy to note that
|
Sites with punch card facilities will be happy to note that
|
||||||
@@ -61,6 +64,7 @@ constructs that the C language supports.
|
|||||||
For an interesting document on APL, see
|
For an interesting document on APL, see
|
||||||
<https://computerhistory.org/blog/the-apl-programming-language-source-code/>.
|
<https://computerhistory.org/blog/the-apl-programming-language-source-code/>.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This program is a handy picoAPL interpreter written in `C--`. It
|
This program is a handy picoAPL interpreter written in `C--`. It
|
||||||
@@ -95,6 +99,7 @@ To obtain a `C--` reference, simply rip out the irrelevant pages
|
|||||||
from your K&R C manual. To obtain a `C--` compiler, simply rip
|
from your K&R C manual. To obtain a `C--` compiler, simply rip
|
||||||
out the irrelevant bytes from your `cc` compiler.
|
out the irrelevant bytes from your `cc` compiler.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,23 +3,27 @@
|
|||||||
Lievaart, Roemer B.\
|
Lievaart, Roemer B.\
|
||||||
Netherlands
|
Netherlands
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./roemer
|
./roemer
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Do you know what this program does? If you do, look again, there is more here
|
Do you know what this program does? If you do, look again, there is more here
|
||||||
than meets the PI.
|
than meets the PI.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
Passes lint, but not with the strictest options, for it contains some
|
Passes lint, but not with the strictest options, for it contains some
|
||||||
@@ -30,6 +34,7 @@ independent.
|
|||||||
You are very much invited to pass this program through a C-beautifier (first
|
You are very much invited to pass this program through a C-beautifier (first
|
||||||
strip newlines and tabs, if your `cb` can't do that).
|
strip newlines and tabs, if your `cb` can't do that).
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,19 +3,22 @@
|
|||||||
John Tromp\
|
John Tromp\
|
||||||
Netherlands
|
Netherlands
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./tromp [drops_per_sec [cmd_string]]
|
./tromp [drops_per_sec [cmd_string]]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./tromp 5
|
./tromp 5
|
||||||
@@ -70,6 +73,7 @@ benefits of the alt version, has not been done.
|
|||||||
The original unmodified alternate code, which will no longer work right if it
|
The original unmodified alternate code, which will no longer work right if it
|
||||||
even compiles, is provided later in the author's remarks.
|
even compiles, is provided later in the author's remarks.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This is a character terminal version of the `TETRIS` game.
|
This is a character terminal version of the `TETRIS` game.
|
||||||
@@ -163,6 +167,7 @@ can only by stopped by 'q' or by the `kill -9' command.
|
|||||||
|
|
||||||
NOTE: the alternate version was fixed for modern systems in 2023.
|
NOTE: the alternate version was fixed for modern systems in 2023.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+4
-2
@@ -14,13 +14,15 @@ US
|
|||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./vanb the rug gary lent
|
./vanb the rug gary lent
|
||||||
./vanb unix is better than os/2
|
./vanb unix is better than os/2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This program computes all proper subsets of the set of
|
This program computes all proper subsets of the set of
|
||||||
@@ -28,7 +30,6 @@ arguments passed to it. Each subset is printed with one
|
|||||||
element on each line, followed by a line of ten dashes.
|
element on each line, followed by a line of ten dashes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
The program has the following charming and possibly
|
The program has the following charming and possibly
|
||||||
@@ -43,6 +44,7 @@ non-portable features:
|
|||||||
* It uses the fact that if the high bit is set in a character variable, the
|
* It uses the fact that if the high bit is set in a character variable, the
|
||||||
value is negative.
|
value is negative.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Merlyn LeRoy (Brian Westley)\
|
|||||||
US\
|
US\
|
||||||
<http://www.westley.org>
|
<http://www.westley.org>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -11,7 +12,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -22,7 +23,7 @@ STATUS: known bug - please help us fix
|
|||||||
For more detailed information see [1989 westley in bugs.md](/bugs.md#1989-westley).
|
For more detailed information see [1989 westley in bugs.md](/bugs.md#1989-westley).
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
Try compiling and running the 4 resulting programs like:
|
Try compiling and running the 4 resulting programs like:
|
||||||
|
|
||||||
@@ -55,7 +56,6 @@ Finally try:
|
|||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
|
|
||||||
There is a secret way to get ONE of the versions to print out
|
There is a secret way to get ONE of the versions to print out
|
||||||
"`Hello, world!\n`". Can you find how to do it?
|
"`Hello, world!\n`". Can you find how to do it?
|
||||||
|
|
||||||
@@ -176,6 +176,7 @@ helped here. It barely fits on an 80x24 screen. Squint. Note
|
|||||||
that the code must start with a blank line, or the reversed version
|
that the code must start with a blank line, or the reversed version
|
||||||
will lack a terminating newline.
|
will lack a terminating newline.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ Israel
|
|||||||
Doron Osovlanski\
|
Doron Osovlanski\
|
||||||
Israel
|
Israel
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -14,6 +15,7 @@ make all
|
|||||||
|
|
||||||
There is [alternate code](#alternate-code) for those using Turbo-C or MSC.
|
There is [alternate code](#alternate-code) for those using Turbo-C or MSC.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -21,7 +23,8 @@ echo 4 | ./baruch
|
|||||||
echo 7 | ./baruch
|
echo 7 | ./baruch
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo 2 | ./baruch
|
echo 2 | ./baruch
|
||||||
@@ -93,6 +96,7 @@ In order to compile the program under Turbo-C or MSC, `int ` should be inserted
|
|||||||
at the beginning of the program. For better looking results it is recommended
|
at the beginning of the program. For better looking results it is recommended
|
||||||
to replace the `" #Q"` string with `" \261\2"`.
|
to replace the `" #Q"` string with `" \261\2"`.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,12 +3,14 @@
|
|||||||
Chris Mills\
|
Chris Mills\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -16,7 +18,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./cmills 5000
|
./cmills 5000
|
||||||
@@ -25,7 +27,6 @@ make all
|
|||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
|
|
||||||
The Makefile uses several `-D` defines. The following is is a list of the macros
|
The Makefile uses several `-D` defines. The following is is a list of the macros
|
||||||
that may be changed:
|
that may be changed:
|
||||||
|
|
||||||
@@ -40,6 +41,7 @@ but do you know why? This is not so strange as it might seem if you look at [C's
|
|||||||
history](https://www.bell-labs.com/usr/dmr/www/chist.html). Example code where
|
history](https://www.bell-labs.com/usr/dmr/www/chist.html). Example code where
|
||||||
this occurs is in John Lions' Commentary on the Sixth Edition UNIX Operating System.
|
this occurs is in John Lions' Commentary on the Sixth Edition UNIX Operating System.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This is a blackjack program. It does splits, doubling down, insurance, etc.
|
This is a blackjack program. It does splits, doubling down, insurance, etc.
|
||||||
@@ -53,6 +55,7 @@ the program, hit `EOF` or type `0` or a negative number for you wager.
|
|||||||
The way it deals with splits is particularly cool (IMHO). You can split many
|
The way it deals with splits is particularly cool (IMHO). You can split many
|
||||||
times, and it will show all hands as they are played.
|
times, and it will show all hands as they are played.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+5
-1
@@ -5,6 +5,7 @@ Greece\
|
|||||||
<https://www.spinellis.gr/>\
|
<https://www.spinellis.gr/>\
|
||||||
Mastodon: <https://mstdn.social/@DSpinellis>
|
Mastodon: <https://mstdn.social/@DSpinellis>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -18,7 +19,8 @@ make all
|
|||||||
./dds
|
./dds
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
Give the following lines as input:
|
Give the following lines as input:
|
||||||
|
|
||||||
@@ -31,6 +33,7 @@ NOTE: this entry is probably one of the only times CAPS LOCK might be worth
|
|||||||
having (though still not useful enough to enable :-) ) as all input has to be
|
having (though still not useful enough to enable :-) ) as all input has to be
|
||||||
UPPER CASE.
|
UPPER CASE.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Be sure not to run out of fuel!
|
Be sure not to run out of fuel!
|
||||||
@@ -123,6 +126,7 @@ lines. In its present 1536 character form the program is reasonably portable
|
|||||||
(it may fail to run in a tagged object architecture) and nicely formatted (it
|
(it may fail to run in a tagged object architecture) and nicely formatted (it
|
||||||
fits in an `80*25` screen).
|
fits in an `80*25` screen).
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+5
-1
@@ -6,6 +6,7 @@ anonymous organization\
|
|||||||
Newton, MA 02159\
|
Newton, MA 02159\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -19,12 +20,14 @@ make all
|
|||||||
echo foo bar | ./dg
|
echo foo bar | ./dg
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo "to C or not to C" | ./dg
|
echo "to C or not to C" | ./dg
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Some C preprocessors got confused about single quotes in certain cases.
|
Some C preprocessors got confused about single quotes in certain cases.
|
||||||
@@ -69,6 +72,7 @@ with:
|
|||||||
If `index(3)` says the char is in the alphabet, then XOR the offset
|
If `index(3)` says the char is in the alphabet, then XOR the offset
|
||||||
with `16` to translate, and output, otherwise pass it unchanged.
|
with `16` to translate, and output, otherwise pass it unchanged.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+5
-3
@@ -9,6 +9,7 @@ US
|
|||||||
Paul Eggert\
|
Paul Eggert\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -16,7 +17,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -27,7 +28,7 @@ STATUS: known bug - please help us fix
|
|||||||
For more detailed information see [1990 jaw in bugs.md](/bugs.md#1990-jaw).
|
For more detailed information see [1990 jaw in bugs.md](/bugs.md#1990-jaw).
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
To test the official C entry, one might try:
|
To test the official C entry, one might try:
|
||||||
|
|
||||||
@@ -45,8 +46,8 @@ Also try:
|
|||||||
./try.sh
|
./try.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Judges' remarks:
|
|
||||||
|
|
||||||
|
## Judges' remarks:
|
||||||
|
|
||||||
The program, in its base form, implements two useful utilities:
|
The program, in its base form, implements two useful utilities:
|
||||||
|
|
||||||
@@ -233,6 +234,7 @@ To which we add:
|
|||||||
|
|
||||||
- June 1990: 'shark' wins the IOCCC, finally! :-)
|
- June 1990: 'shark' wins the IOCCC, finally! :-)
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -8,18 +8,21 @@ Farnborough\
|
|||||||
Hants GU14 7PL\
|
Hants GU14 7PL\
|
||||||
England, U.K.
|
England, U.K.
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./pjr
|
./pjr
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This program prints out a string. Can you figure out how
|
This program prints out a string. Can you figure out how
|
||||||
@@ -72,6 +75,7 @@ Rot13:
|
|||||||
in the original program! I leave it as an intellectual exercise
|
in the original program! I leave it as an intellectual exercise
|
||||||
to the reader to find out what it is.
|
to the reader to find out what it is.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+6
-1
@@ -5,12 +5,14 @@ Norwegian Institute of Technology\
|
|||||||
N-7034 Trondheim-NTH\
|
N-7034 Trondheim-NTH\
|
||||||
Norway
|
Norway
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -23,7 +25,8 @@ NOTE: that's not a typo or mistake but one can also do:
|
|||||||
./o
|
./o
|
||||||
```
|
```
|
||||||
|
|
||||||
## Judges' remarks
|
|
||||||
|
## Judges' remarks:
|
||||||
|
|
||||||
We changed the alias that the author's suggested alias from a
|
We changed the alias that the author's suggested alias from a
|
||||||
C-shell alias to a zsh alias.
|
C-shell alias to a zsh alias.
|
||||||
@@ -34,6 +37,7 @@ WARNING: This program's `how to compile` is too specific to a particular shell.
|
|||||||
The obfuscation of this program is more related to shell obfuscation than C
|
The obfuscation of this program is more related to shell obfuscation than C
|
||||||
obfuscation. This type of entry will not be permitted in future contests.
|
obfuscation. This type of entry will not be permitted in future contests.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
If you like shell programming you may also admire my creative quoting. (I use
|
If you like shell programming you may also admire my creative quoting. (I use
|
||||||
@@ -51,6 +55,7 @@ whether your compiler supports nested comments. I've stolen the `"/*/*/0*/**/1"`
|
|||||||
from somewhere so don't give me any points for it. Of course neither ANSI nor
|
from somewhere so don't give me any points for it. Of course neither ANSI nor
|
||||||
K&R support nested comments when properly implemented, but what the heck.
|
K&R support nested comments when properly implemented, but what the heck.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+3
-1
@@ -13,6 +13,7 @@ US
|
|||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -27,7 +28,7 @@ or ctrl-c (or kill it from another terminal :-) ). But why does it not work with
|
|||||||
just `exit` or `logout`? Hint: see the authors' remarks.
|
just `exit` or `logout`? Hint: see the authors' remarks.
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./tbr
|
./tbr
|
||||||
@@ -47,6 +48,7 @@ What happens if you try using `cd -` to return to previous directory? What about
|
|||||||
The authors include a section called [BUGS](#bugs) that, because they were
|
The authors include a section called [BUGS](#bugs) that, because they were
|
||||||
documented, are not considered bugs as such in the context of the contest.
|
documented, are not considered bugs as such in the context of the contest.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This program touches on a well known Unix utility, the 6th edition Bourne Shell
|
This program touches on a well known Unix utility, the 6th edition Bourne Shell
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -41,7 +41,8 @@ h - step size
|
|||||||
y1 - initial value (y(x1) == y1)
|
y1 - initial value (y(x1) == y1)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./theorem y 0 1 0.1 1
|
./theorem y 0 1 0.1 1
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ make all
|
|||||||
|
|
||||||
The number should be greater than 0.
|
The number should be greater than 0.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./westley 1
|
./westley 1
|
||||||
|
|||||||
+7
-1
@@ -6,12 +6,14 @@ Mortice Kern Systems Inc. #CL-23\
|
|||||||
Waterloo, On Waterloo, On\
|
Waterloo, On Waterloo, On\
|
||||||
Canada, N2J 2W9 Canada, N2L 6G9
|
Canada, N2J 2W9 Canada, N2L 6G9
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -21,13 +23,15 @@ make all
|
|||||||
NOTE: the file must already exist and not specifying any arg will make the
|
NOTE: the file must already exist and not specifying any arg will make the
|
||||||
program exit without doing anything.
|
program exit without doing anything.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cp README.md hill
|
cp README.md hill
|
||||||
./ant hill
|
./ant hill
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The author was kind enough to supply a list of references below,
|
The author was kind enough to supply a list of references below,
|
||||||
@@ -44,6 +48,7 @@ NOTE: to enter form feed you should be able to hit `ctrl-L`. This will allow you
|
|||||||
to exit insert mode rather than ESC like in normal vi(m). See the author's
|
to exit insert mode rather than ESC like in normal vi(m). See the author's
|
||||||
commands section for other commands.
|
commands section for other commands.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
Ant's Editor vIOCCC91
|
Ant's Editor vIOCCC91
|
||||||
@@ -123,6 +128,7 @@ screen with long lines. Paging up and down should work correctly, however.
|
|||||||
|
|
||||||
[net90] "Editor 101/102" articles from comp.editors
|
[net90] "Editor 101/102" articles from comp.editors
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./brnstnd < sorta.i2+2
|
./brnstnd < sorta.i2+2
|
||||||
|
|||||||
@@ -6,24 +6,28 @@ University of Maryland\
|
|||||||
Hyattsville MD 20782\
|
Hyattsville MD 20782\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./buzzard
|
./buzzard
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
You will be A-mazed.
|
You will be A-mazed.
|
||||||
|
|
||||||
You are invited to try to cheat, ... if you can figure out how! :-)
|
You are invited to try to cheat, ... if you can figure out how! :-)
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
### How to play
|
### How to play
|
||||||
@@ -94,6 +98,7 @@ Rot13 to read:
|
|||||||
|
|
||||||
Gur cebtenz nffhzrf gung gnof ner frg gb 8 punenpgref.
|
Gur cebtenz nffhzrf gung gnof ner frg gb 8 punenpgref.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -7,18 +7,21 @@ Laboratoire d'Informatique Parallele\
|
|||||||
69009 Lyon\
|
69009 Lyon\
|
||||||
France
|
France
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./cdupont
|
./cdupont
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Why is the following label necessary?
|
Why is the following label necessary?
|
||||||
@@ -34,6 +37,7 @@ NOTE: One should remove the final trailing newline to obtain the
|
|||||||
original source file. This step is not needed to compile
|
original source file. This step is not needed to compile
|
||||||
this entry.
|
this entry.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
Spoiler, rot13 to read:
|
Spoiler, rot13 to read:
|
||||||
@@ -50,6 +54,7 @@ Spoiler, rot13 to read:
|
|||||||
Guvf jnl, nal zrffntr pna or zvkrq vagb n pbqr, fvapr gur xrlf nyybj
|
Guvf jnl, nal zrffntr pna or zvkrq vagb n pbqr, fvapr gur xrlf nyybj
|
||||||
lbh gb cynpr gur zrnavatshy yrggref jurerire lbh jnag.
|
lbh gb cynpr gur zrnavatshy yrggref jurerire lbh jnag.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ US
|
|||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -28,7 +29,8 @@ make all
|
|||||||
|
|
||||||
where `ip_address` in an IP address of an X server.
|
where `ip_address` in an IP address of an X server.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./davidguy 127.0.0.1:0.0
|
./davidguy 127.0.0.1:0.0
|
||||||
@@ -45,8 +47,8 @@ cp -f davidguy guydavid
|
|||||||
|
|
||||||
Can you determine why this makes a difference?
|
Can you determine why this makes a difference?
|
||||||
|
|
||||||
## Judges' remarks:
|
|
||||||
|
|
||||||
|
## Judges' remarks:
|
||||||
|
|
||||||
We permitted this type of entry to win because:
|
We permitted this type of entry to win because:
|
||||||
|
|
||||||
@@ -129,6 +131,7 @@ result is that the time to transfer the bits to the X server, and
|
|||||||
for the X server to draw them on the screen, dominates the time to
|
for the X server to draw them on the screen, dominates the time to
|
||||||
compute the next generation.
|
compute the next generation.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+2
-2
@@ -13,7 +13,6 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -21,7 +20,8 @@ make all
|
|||||||
./a.out 2>/dev/null
|
./a.out 2>/dev/null
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
The author suggests trying:
|
The author suggests trying:
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -4,19 +4,22 @@ Thomas A. Fine\
|
|||||||
US\
|
US\
|
||||||
[@thomasafine@social.linux.pizza](https://social.linux.pizza/@thomasafine)
|
[@thomasafine@social.linux.pizza](https://social.linux.pizza/@thomasafine)
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo text | ./fine
|
echo text | ./fine
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./try.sh
|
./try.sh
|
||||||
@@ -47,6 +50,7 @@ How does this program work? Which 3 bytes of C code can be changed
|
|||||||
into 2 bytes, allowing the program to still work, but also stripping
|
into 2 bytes, allowing the program to still work, but also stripping
|
||||||
the high bit off some input?
|
the high bit off some input?
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
The author wishes to thank J Greely for the last 6 bytes.
|
The author wishes to thank J Greely for the last 6 bytes.
|
||||||
@@ -90,7 +94,6 @@ data, the size can be reduced by one byte. These are left as exercises
|
|||||||
for the student.
|
for the student.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -8,22 +8,26 @@ Sandy Beds\
|
|||||||
SG19 2HA\
|
SG19 2HA\
|
||||||
England
|
England
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./rince
|
./rince
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This entry has been updated to allow most ANSI C compilers.
|
This entry has been updated to allow most ANSI C compilers.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This program is a simple puzzle type game. (I'll leave you to play
|
This program is a simple puzzle type game. (I'll leave you to play
|
||||||
@@ -68,6 +72,7 @@ enjoyment high.\
|
|||||||
znc). Gb haybpx n qbbe fvzcyl chfu n xrl vagb gur pbeerfcbaqvat qbbe.
|
znc). Gb haybpx n qbbe fvzcyl chfu n xrl vagb gur pbeerfcbaqvat qbbe.
|
||||||
Gnxr pner gung vg'f snpvat va gur pbeerpg qverpgvba.
|
Gnxr pner gung vg'f snpvat va gur pbeerpg qverpgvba.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -50,7 +50,8 @@ make nextmove
|
|||||||
./nextmove move_location | tee nextmove.c
|
./nextmove move_location | tee nextmove.c
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
We have provided the shell script, [ttt](ttt.sh), to make it easier to play the game:
|
We have provided the shell script, [ttt](ttt.sh), to make it easier to play the game:
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./adrian adrian.grep.try < README.md
|
./adrian adrian.grep.try < README.md
|
||||||
@@ -27,6 +27,7 @@ NOTE: if you do not specify an arg to the program it will segfault.
|
|||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
\
|
\
|
||||||
Once you get past the obfuscation, you have an opportunity to learn
|
Once you get past the obfuscation, you have an opportunity to learn
|
||||||
about regular expressions and state machines.
|
about regular expressions and state machines.
|
||||||
|
|||||||
@@ -6,19 +6,22 @@ Oranjestraat 8\
|
|||||||
3511 RA UTRECHT\
|
3511 RA UTRECHT\
|
||||||
The Netherlands
|
The Netherlands
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./albert number
|
./albert number
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./albert 1234567890123456789
|
./albert 1234567890123456789
|
||||||
@@ -58,12 +61,15 @@ make alt
|
|||||||
|
|
||||||
Use `albert.alt` as you would `albert` above.
|
Use `albert.alt` as you would `albert` above.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
\
|
\
|
||||||
We were impressed with the speed at which it was able to factor
|
We were impressed with the speed at which it was able to factor
|
||||||
arbitrarily large numbers consisting of factors that fit into
|
arbitrarily large numbers consisting of factors that fit into
|
||||||
a long.
|
a long.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
The Obfuscated version of the Horst algorithm.
|
The Obfuscated version of the Horst algorithm.
|
||||||
@@ -133,6 +139,7 @@ modified form.
|
|||||||
4. The Conversion is to be found in Knuth, not so the Observation. The
|
4. The Conversion is to be found in Knuth, not so the Observation. The
|
||||||
Observation: "if it ends in a zero, it is divisible by ten".
|
Observation: "if it ends in a zero, it is divisible by ten".
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+4
-2
@@ -7,12 +7,14 @@ Waterloo, Ontario\
|
|||||||
N2J 3G4\
|
N2J 3G4\
|
||||||
Canada
|
Canada
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -22,7 +24,7 @@ make all
|
|||||||
where `Makefile` is a Makefile to use.
|
where `Makefile` is a Makefile to use.
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./ant ant.test.mk
|
./ant ant.test.mk
|
||||||
@@ -39,7 +41,6 @@ make am
|
|||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
|
|
||||||
Like much of POSIX, obfuscation has its place. Your task is to
|
Like much of POSIX, obfuscation has its place. Your task is to
|
||||||
figure out where.
|
figure out where.
|
||||||
|
|
||||||
@@ -52,6 +53,7 @@ P1003 subcommittee.
|
|||||||
|
|
||||||
See the file [ant.README](ant.README).
|
See the file [ant.README](ant.README).
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ make all
|
|||||||
|
|
||||||
NOTE: this program will crash without two args.
|
NOTE: this program will crash without two args.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./buzzard.1 0 10
|
./buzzard.1 0 10
|
||||||
@@ -28,6 +29,7 @@ NOTE: this program will crash without two args.
|
|||||||
./buzzard.1 1 521
|
./buzzard.1 1 521
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
To see good C Preprocessor buzzard.1, try:
|
To see good C Preprocessor buzzard.1, try:
|
||||||
@@ -39,6 +41,7 @@ cat babble.cppcb
|
|||||||
|
|
||||||
Notice how many statements it takes to do anything useful?
|
Notice how many statements it takes to do anything useful?
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
What you shouldn't think about `buzzard.1`:
|
What you shouldn't think about `buzzard.1`:
|
||||||
@@ -239,6 +242,7 @@ my attention.
|
|||||||
`buzzard.1` was originally named 'cb', for obvious reasons, and is
|
`buzzard.1` was originally named 'cb', for obvious reasons, and is
|
||||||
dedicated to the memory of Charles Barrett.
|
dedicated to the memory of Charles Barrett.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -6,12 +6,14 @@ Software Construction Company\
|
|||||||
College Station, TX 77840\
|
College Station, TX 77840\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
First:
|
First:
|
||||||
@@ -61,10 +63,12 @@ make alt
|
|||||||
|
|
||||||
Use `buzzard.2.alt` as you would `buzzard.2` above.
|
Use `buzzard.2.alt` as you would `buzzard.2` above.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Have fun!
|
Have fun!
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
### What it does
|
### What it does
|
||||||
@@ -250,6 +254,7 @@ C source.
|
|||||||
Software Construction Company gets credit for rekindling my interest in FORTH
|
Software Construction Company gets credit for rekindling my interest in FORTH
|
||||||
and thus indirectly inspiring me to write this program.
|
and thus indirectly inspiring me to write this program.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+1
-2
@@ -18,7 +18,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
Determine where your system dictionary is located. You may find
|
Determine where your system dictionary is located. You may find
|
||||||
it located in one of the following places:
|
it located in one of the following places:
|
||||||
@@ -255,7 +255,6 @@ of the word matched by that invocation, and copying the characters of
|
|||||||
the word directly from standard input to standard output.
|
the word directly from standard input to standard output.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -8,12 +8,14 @@ Oxford\
|
|||||||
OX1 4AW\
|
OX1 4AW\
|
||||||
England
|
England
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -23,6 +25,7 @@ make all
|
|||||||
./imc\
|
./imc\
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The program is more interesting to run on workstations that can make use of a
|
The program is more interesting to run on workstations that can make use of a
|
||||||
@@ -35,6 +38,7 @@ NOTE: The original winning source assumed that exit() returned a value which cau
|
|||||||
problems for some systems where exit() returns a void. The file [imc.c](imc.c) has been
|
problems for some systems where exit() returns a void. The file [imc.c](imc.c) has been
|
||||||
modified to avoid this problem.
|
modified to avoid this problem.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
@@ -164,6 +168,7 @@ Here are a couple of good pictures to draw:
|
|||||||
./imc -s512,512 -j-.523,-.535 > screen2.ras
|
./imc -s512,512 -j-.523,-.535 > screen2.ras
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ install [XQuartz](https://www.xquartz.org) in order to compile and run this
|
|||||||
entry.
|
entry.
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -32,8 +32,7 @@ STATUS: known bug - please help us fix
|
|||||||
For more detailed information see [1992 kivinen in bugs.md](/bugs.md#1992-kivinen).
|
For more detailed information see [1992 kivinen in bugs.md](/bugs.md#1992-kivinen).
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./kivinen
|
./kivinen
|
||||||
@@ -51,6 +50,7 @@ In modern systems a known issue is that when you start the game everything
|
|||||||
starts to move to the right of the game window but if you click on the window it
|
starts to move to the right of the game window but if you click on the window it
|
||||||
moves back to where it should be.
|
moves back to where it should be.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The type of entertainment depends on number of arguments
|
The type of entertainment depends on number of arguments
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
|
|||||||
@@ -6,18 +6,21 @@ Via Pausula, 72\
|
|||||||
62014 Corridonia (MC)\
|
62014 Corridonia (MC)\
|
||||||
Italy
|
Italy
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./marangon
|
./marangon
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The object is to refill the table with 5's, by incrementing or decrementing
|
The object is to refill the table with 5's, by incrementing or decrementing
|
||||||
@@ -33,12 +36,14 @@ directory, assumed that exit returns a value which cause problems for some
|
|||||||
systems where exit returns a void. The file [marangon.c](marangon.c) avoids
|
systems where exit returns a void. The file [marangon.c](marangon.c) avoids
|
||||||
this problem.
|
this problem.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
It starts off by creating a table with number 5 in all places. The CPU melts
|
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
|
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.
|
number, all the other eight numbers next to it decrease and vice-versa.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -7,19 +7,22 @@ Almondsbury\
|
|||||||
Bristol\
|
Bristol\
|
||||||
UK BS12 4SQ
|
UK BS12 4SQ
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./nathan
|
./nathan
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./nathan obfuscate < nathan.c > foobarf.c
|
./nathan obfuscate < nathan.c > foobarf.c
|
||||||
@@ -82,7 +85,8 @@ were/are. Certain US federal officials can get away with shipping arms to
|
|||||||
certain nations in apparent violation of US laws, but I personally can't
|
certain nations in apparent violation of US laws, but I personally can't
|
||||||
re-distribute a program contest winner to the network!
|
re-distribute a program contest winner to the network!
|
||||||
|
|
||||||
## Author's remarks
|
|
||||||
|
## Author's remarks:
|
||||||
|
|
||||||
### Program use
|
### Program use
|
||||||
|
|
||||||
@@ -129,6 +133,7 @@ serious overuse of , and ? :. These are really confusing when used
|
|||||||
together, nested or put in argument lists (is that a comma
|
together, nested or put in argument lists (is that a comma
|
||||||
operator, or argument separator?)
|
operator, or argument separator?)
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+6
-1
@@ -8,20 +8,22 @@ Lawrence Berkeley Laboratory\
|
|||||||
1 Cyclotron Rd.\
|
1 Cyclotron Rd.\
|
||||||
Berkeley, CA 94720 US
|
Berkeley, CA 94720 US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./vern 3 # <-- default is 2
|
./vern 3 # <-- default is 2
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
You might start off by giving the following input:
|
You might start off by giving the following input:
|
||||||
|
|
||||||
@@ -32,6 +34,7 @@ You might start off by giving the following input:
|
|||||||
67 57 # (this may take a while)
|
67 57 # (this may take a while)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The judges assume no responsibility for the obfuscated opening
|
The judges assume no responsibility for the obfuscated opening
|
||||||
@@ -52,6 +55,7 @@ NOTE: Move values must be restricted to the range 00 to 77.
|
|||||||
NOTE: Because some mailers have problems with the original winning source,
|
NOTE: Because some mailers have problems with the original winning source,
|
||||||
a slightly modified version with shorter lines has been provided.
|
a slightly modified version with shorter lines has been provided.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This program plays chess. You play the white pieces and the program
|
This program plays chess. You play the white pieces and the program
|
||||||
@@ -152,6 +156,7 @@ Sometimes the value produced will be 63 or 65 instead of 64 (but I've never
|
|||||||
observed any other values), so the result is then rounded to the nearest
|
observed any other values), so the result is then rounded to the nearest
|
||||||
multiple of 4, and then the other constants are derived from it.
|
multiple of 4, and then the other constants are derived from it.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -31,7 +31,8 @@ Where lat and long correspond to your latitude and longitude.
|
|||||||
NOTE: you **MUST** have a terminal that wraps at 80 columns (!) in order for this to
|
NOTE: you **MUST** have a terminal that wraps at 80 columns (!) in order for this to
|
||||||
show correctly!
|
show correctly!
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./whereami 47 -122 (- means west of meridian)
|
./whereami 47 -122 (- means west of meridian)
|
||||||
|
|||||||
+7
-1
@@ -6,19 +6,22 @@ Unit 1, 14 Weber Street North\
|
|||||||
Waterloo, Ontario, N2J 3G4\
|
Waterloo, Ontario, N2J 3G4\
|
||||||
Canada
|
Canada
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./ant 'ERE' [file ...]
|
./ant 'ERE' [file ...]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
You may also want to try the author's test suite:
|
You may also want to try the author's test suite:
|
||||||
|
|
||||||
@@ -26,6 +29,7 @@ You may also want to try the author's test suite:
|
|||||||
make -f ant.test.mk
|
make -f ant.test.mk
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
See the author's POSIX P1003.2-like documentation file ant.txt for more
|
See the author's POSIX P1003.2-like documentation file ant.txt for more
|
||||||
@@ -33,6 +37,7 @@ information.
|
|||||||
|
|
||||||
This program demonstrates that POSIX doesn't guarantee readability. :-)
|
This program demonstrates that POSIX doesn't guarantee readability. :-)
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
Some of the features of my entry are:
|
Some of the features of my entry are:
|
||||||
@@ -46,6 +51,7 @@ Some of the features of my entry are:
|
|||||||
- Can be compiled with ANSI or K&R C.
|
- Can be compiled with ANSI or K&R C.
|
||||||
- Not a toy, but actually useful and usable on systems that use DOS.
|
- Not a toy, but actually useful and usable on systems that use DOS.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ Pagine Corporation\
|
|||||||
San Jose, CA 95131\
|
San Jose, CA 95131\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -17,6 +18,7 @@ compile. macOS users running Mountain Lion and later will need to download and
|
|||||||
install [XQuartz](https://www.xquartz.org) in order to compile and run this
|
install [XQuartz](https://www.xquartz.org) in order to compile and run this
|
||||||
entry.
|
entry.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -29,6 +31,7 @@ where:
|
|||||||
|
|
||||||
`speed` is update speed from 1 to 9 (default is 9).
|
`speed` is update speed from 1 to 9 (default is 9).
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
From the San Jose Mercury News (May 15, 1993 page 20A "West Hackers\
|
From the San Jose Mercury News (May 15, 1993 page 20A "West Hackers\
|
||||||
@@ -62,6 +65,7 @@ the program.
|
|||||||
|
|
||||||
This program makes your windows about as useful as their windows. :-)
|
This program makes your windows about as useful as their windows. :-)
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
The program uses a single backing pixmap (which is the size of the
|
The program uses a single backing pixmap (which is the size of the
|
||||||
@@ -73,6 +77,7 @@ a separate backing pixmap for each subwindow.
|
|||||||
The chance that a window breaks is based on it's kinetic energy,
|
The chance that a window breaks is based on it's kinetic energy,
|
||||||
which in turn is based on it's area and speed. How silly!
|
which in turn is based on it's area and speed. How silly!
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -7,12 +7,14 @@ Bergvliet\
|
|||||||
7945\
|
7945\
|
||||||
South Africa
|
South Africa
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -23,13 +25,16 @@ where:
|
|||||||
\
|
\
|
||||||
`datafile` is the initial pattern (default: [dgibson.data1](dgibson.data1))
|
`datafile` is the initial pattern (default: [dgibson.data1](dgibson.data1))
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./dgibson.sh dgibson.data3
|
./dgibson.sh dgibson.data3
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
\
|
\
|
||||||
We have provided the shell script [dgibson.sh](dgibson.sh) to make it easier
|
We have provided the shell script [dgibson.sh](dgibson.sh) to make it easier
|
||||||
to run this entry. Run this shell script several times to
|
to run this entry. Run this shell script several times to
|
||||||
@@ -49,6 +54,7 @@ memory and lots of time!
|
|||||||
Good luck trying to use a debugger on this entry! Life is not
|
Good luck trying to use a debugger on this entry! Life is not
|
||||||
always pretty.
|
always pretty.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This program plays the [Game of
|
This program plays the [Game of
|
||||||
@@ -75,6 +81,7 @@ grid expand to the code which calculates the fate of that cell. In
|
|||||||
addition, the resulting program is a single expression, which makes it
|
addition, the resulting program is a single expression, which makes it
|
||||||
necessary to recurse on main in two "directions" simultaneously.
|
necessary to recurse on main in two "directions" simultaneously.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+6
-1
@@ -6,12 +6,14 @@ Engineering Research Associates\
|
|||||||
Vienna, VA 22182-2235\
|
Vienna, VA 22182-2235\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -24,6 +26,7 @@ where:
|
|||||||
level a value from -128 to 127
|
level a value from -128 to 127
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
A negative argument plays the patience puzzle. An argument
|
A negative argument plays the patience puzzle. An argument
|
||||||
@@ -37,7 +40,8 @@ the argument 127 to this program and want to see it finish!
|
|||||||
|
|
||||||
We note that this also works under macOS just fine.
|
We note that this also works under macOS just fine.
|
||||||
|
|
||||||
## Author's remarks
|
|
||||||
|
## Author's remarks:
|
||||||
|
|
||||||
### What this program does
|
### What this program does
|
||||||
|
|
||||||
@@ -92,6 +96,7 @@ architecture it runs on have bytes that are at least eight bits long and
|
|||||||
pointers that are at least four bytes long. In addition, it requires an ANSI
|
pointers that are at least four bytes long. In addition, it requires an ANSI
|
||||||
compiler since it uses "signed char" and ANSI-style function declarations.
|
compiler since it uses "signed char" and ANSI-style function declarations.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ where:
|
|||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
\
|
\
|
||||||
By default, the number of colors is 6. You may specify a
|
By default, the number of colors is 6. You may specify a
|
||||||
value of between 1 and 15 colors. See the author's notes
|
value of between 1 and 15 colors. See the author's notes
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ There is an alternate version which simply does what the program did with gcc <
|
|||||||
2.3.3.
|
2.3.3.
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -63,6 +63,7 @@ done with this bug; see the author's remarks for more details.
|
|||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
\
|
\
|
||||||
There's more than one way to get around disk quotas. :-)
|
There's more than one way to get around disk quotas. :-)
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ where:
|
|||||||
NOTE: an alternate version exists. See Alternate code section below.
|
NOTE: an alternate version exists. See Alternate code section below.
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./plummer 01234567890876543210 xxx
|
./plummer 01234567890876543210 xxx
|
||||||
@@ -64,6 +64,7 @@ make clobber CDEFINE="-DZ=50" alt
|
|||||||
For extra credit: What happens when 'number' contains non-numeric
|
For extra credit: What happens when 'number' contains non-numeric
|
||||||
characters, and why?
|
characters, and why?
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
This program prints out all numbers up to a given number of digits
|
This program prints out all numbers up to a given number of digits
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ make all
|
|||||||
NOTE: there is an alternate version of this program that allows one to slow down
|
NOTE: there is an alternate version of this program that allows one to slow down
|
||||||
the game. See the Alternate code section below.
|
the game. See the Alternate code section below.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ where
|
|||||||
This entry will segfault if the file cannot be opened. This is not a bug.
|
This entry will segfault if the file cannot be opened. This is not a bug.
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./schnitzi schnitzi.info
|
./schnitzi schnitzi.info
|
||||||
|
|||||||
+2
-1
@@ -24,7 +24,7 @@ where `exp` is an octal expression. See below for how it can also have
|
|||||||
hexadecimal and decimal numbers.
|
hexadecimal and decimal numbers.
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./vanb '1+1'
|
./vanb '1+1'
|
||||||
@@ -36,6 +36,7 @@ What happens if you use something other than valid digits?
|
|||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
\
|
\
|
||||||
The octal expression may contain:
|
The octal expression may contain:
|
||||||
|
|
||||||
|
|||||||
@@ -6,12 +6,14 @@ AG Communication Systems\
|
|||||||
Phoenix, AZ 85023\
|
Phoenix, AZ 85023\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -20,12 +22,14 @@ make all
|
|||||||
|
|
||||||
NOTE: At the prompt, try entering `E3`.
|
NOTE: At the prompt, try entering `E3`.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
The program plays the game that the layout of the source implies.
|
The program plays the game that the layout of the source implies.
|
||||||
The source, on the other hand, implies a language along the
|
The source, on the other hand, implies a language along the
|
||||||
lines of Lisp. :-)
|
lines of Lisp. :-)
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
For each turn, the board is displayed and the player is prompted for
|
For each turn, the board is displayed and the player is prompted for
|
||||||
@@ -35,6 +39,7 @@ The program uses a single function for 4 different purposes -- to
|
|||||||
determine if a valid move exists, to verify that a move is valid, to
|
determine if a valid move exists, to verify that a move is valid, to
|
||||||
make a move, and to determine the value of a move.
|
make a move, and to determine the value of a move.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -6,18 +6,21 @@ AG Communication Systems\
|
|||||||
Phoenix, AZ 85023\
|
Phoenix, AZ 85023\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./dodsond2
|
./dodsond2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Each year people find new ways to squeeze more and more out of the
|
Each year people find new ways to squeeze more and more out of the
|
||||||
@@ -52,6 +55,7 @@ this fun "_abuse of the rules_" style hack.
|
|||||||
It is worth noting that without this compression "_abuse of the rules_"
|
It is worth noting that without this compression "_abuse of the rules_"
|
||||||
style hack, the [dodsond2.c](dodsond2.c) is further obfuscated.
|
style hack, the [dodsond2.c](dodsond2.c) is further obfuscated.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
Go searching for the Wumpus in the Caverns of Doom! But be careful...
|
Go searching for the Wumpus in the Caverns of Doom! But be careful...
|
||||||
@@ -81,6 +85,7 @@ You can quit at any time by typing `q`. Typing `i` will tell
|
|||||||
you how many arrows you are carrying. `l` prints the description
|
you how many arrows you are carrying. `l` prints the description
|
||||||
of the current room again.
|
of the current room again.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Mary Ann Horton\
|
|||||||
US\
|
US\
|
||||||
<https://maryannhorton.com>
|
<https://maryannhorton.com>
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -43,6 +44,7 @@ Try to figure out how this program prints, for a given slope, the
|
|||||||
right character. And for extra credit, try to figure out which
|
right character. And for extra credit, try to figure out which
|
||||||
character is at the bottom on this hint file. :-)
|
character is at the bottom on this hint file. :-)
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
Run it with any 4 numeric arguments, e.g. `./horton 3 2 1 0`. Play with the
|
Run it with any 4 numeric arguments, e.g. `./horton 3 2 1 0`. Play with the
|
||||||
@@ -99,6 +101,7 @@ Sept/Oct 1992; Pages 28-31
|
|||||||
, MMMM,MMMM"M"M"M,MM,M,", "
|
, MMMM,MMMM"M"M"M,MM,M,", "
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+6
-1
@@ -7,12 +7,14 @@ Bolton\
|
|||||||
BL3 4LG\
|
BL3 4LG\
|
||||||
England
|
England
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -21,7 +23,8 @@ make all
|
|||||||
|
|
||||||
where `[NUMBER]` is an optional number. Default is 5.
|
where `[NUMBER]` is an optional number. Default is 5.
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./imc 3
|
./imc 3
|
||||||
@@ -32,6 +35,7 @@ where `[NUMBER]` is an optional number. Default is 5.
|
|||||||
./imc 13
|
./imc 13
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
This entry's algorithm is as magic as its output!
|
This entry's algorithm is as magic as its output!
|
||||||
@@ -88,6 +92,7 @@ The square which is returned will (or should) be a permutation of the
|
|||||||
numbers 1 to `n*n` in which all rows and columns and the two diagonals
|
numbers 1 to `n*n` in which all rows and columns and the two diagonals
|
||||||
add up to `n*(n*n+1)/2`.
|
add up to `n*(n*n+1)/2`.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+2
-2
@@ -12,7 +12,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ some_command | ./ldb
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./ldb < /etc/passwd
|
./ldb < /etc/passwd
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ See below section bugs and (mis)features for details and the [alternate
|
|||||||
code](#alternate-code) section for how to use.
|
code](#alternate-code) section for how to use.
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ For more detailed information see [1994 schnitzi in bugs.md](/bugs.md#1994-schni
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./schnitzi < /etc/motd 2>/dev/null
|
./schnitzi < /etc/motd 2>/dev/null
|
||||||
@@ -73,7 +73,6 @@ feeding the source code to it will not work right.
|
|||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
|
|
||||||
Try:
|
Try:
|
||||||
|
|
||||||
./schnitzi < schnitzi.c
|
./schnitzi < schnitzi.c
|
||||||
@@ -85,7 +84,6 @@ find out why?
|
|||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
|
|
||||||
### SPOILER:
|
### SPOILER:
|
||||||
|
|
||||||
This is a program which takes any text file as input and 'flips'
|
This is a program which takes any text file as input and 'flips'
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ For more detailed information see [1994 shapiro in bugs.md](/bugs.md#1994-shapir
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./shapiro
|
./shapiro
|
||||||
|
|||||||
+7
-1
@@ -6,24 +6,28 @@ Massachusetts Institute of Technology\
|
|||||||
Cambridge, Ma 02139\
|
Cambridge, Ma 02139\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./smr
|
./smr
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./smr > smr.out ; diff -s smr.out smr.c
|
./smr > smr.out ; diff -s smr.out smr.c
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Nearly every year, one or more people would submit what they claimed\
|
Nearly every year, one or more people would submit what they claimed\
|
||||||
@@ -42,11 +46,13 @@ In the future, the contest rules will specify a minimum size that is one
|
|||||||
character larger than this entry, forever eliminating this sort of program from
|
character larger than this entry, forever eliminating this sort of program from
|
||||||
the contest. After all, how many variations can one make on this entry? :-)
|
the contest. After all, how many variations can one make on this entry? :-)
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
The world's smallest self-replicating program. Guaranteed.
|
The world's smallest self-replicating program. Guaranteed.
|
||||||
Produces a listing of itself on stdout.
|
Produces a listing of itself on stdout.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
+6
-1
@@ -6,19 +6,22 @@ Melkonkatu 5 A 8\
|
|||||||
00210 Helsinki\
|
00210 Helsinki\
|
||||||
Finland
|
Finland
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./tvr mode screensize/2 < colormapfile
|
./tvr mode screensize/2 < colormapfile
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./tvr 0 128 < tvr.color (for color displays)
|
./tvr 0 128 < tvr.color (for color displays)
|
||||||
@@ -49,6 +52,7 @@ The fractally minded may be able to detect that mode 0 does not calculate
|
|||||||
Mandelbrot/Julian sets correctly. Can you find the bug? Better still, can you
|
Mandelbrot/Julian sets correctly. Can you find the bug? Better still, can you
|
||||||
fix it without breaking something else?
|
fix it without breaking something else?
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
### Interactive Fractals for X Window System
|
### Interactive Fractals for X Window System
|
||||||
@@ -216,6 +220,7 @@ should be checked exactly (by comparing `x*x+y*y` with `2*2`), or else artifacts
|
|||||||
are introduced. The result of this error is a "bubbly" appearance (at least in
|
are introduced. The result of this error is a "bubbly" appearance (at least in
|
||||||
mono).
|
mono).
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ Computer Studies Bldg\
|
|||||||
Rochester, NY 14627\
|
Rochester, NY 14627\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -41,6 +42,7 @@ This entry confuses some C-preprocessors and some C-beautifiers.
|
|||||||
We found one cpp that processed this source differently when
|
We found one cpp that processed this source differently when
|
||||||
it was read on stdin instead of via `cc -E`.
|
it was read on stdin instead of via `cc -E`.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
### Description
|
### Description
|
||||||
@@ -72,6 +74,7 @@ speed. It was ported to C specifically for the IOCCC. In the
|
|||||||
conversion/obfuscation step some of (much of) the blazing speed was lost, but as
|
conversion/obfuscation step some of (much of) the blazing speed was lost, but as
|
||||||
a bonus, the understandability of the code was reduced to zero.
|
a bonus, the understandability of the code was reduced to zero.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ game!
|
|||||||
There is no running as such. See below.
|
There is no running as such. See below.
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
But for something more interesting try compiling it with
|
But for something more interesting try compiling it with
|
||||||
different cc arguments. For example:
|
different cc arguments. For example:
|
||||||
|
|||||||
+3
-3
@@ -19,7 +19,7 @@ real time. You can redefine `Z` to reconfigure it in case it's going too slow,
|
|||||||
too fast :-) or you're doing some strange experiment like making it 100000.
|
too fast :-) or you're doing some strange experiment like making it 100000.
|
||||||
|
|
||||||
|
|
||||||
### Bugs and (Mis)features
|
### Bugs and (Mis)features:
|
||||||
|
|
||||||
The current status of this entry is:
|
The current status of this entry is:
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ For more detailed information see [1995 cdua in bugs.md](/bugs.md#1995-cdua).
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Try:
|
### Try:
|
||||||
|
|
||||||
To use 1500 for `Z` do:
|
To use 1500 for `Z` do:
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ If you wish to use the original version, for instance if you wish to see how
|
|||||||
fast your computer is :-) or use both to see the difference, you can do so.
|
fast your computer is :-) or use both to see the difference, you can do so.
|
||||||
|
|
||||||
|
|
||||||
#### Original build:
|
### Original build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
|
|||||||
@@ -6,24 +6,28 @@ AG Communication Systems\
|
|||||||
Glendale, AZ 85308\
|
Glendale, AZ 85308\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./dodsond1 < text_file
|
./dodsond1 < text_file
|
||||||
```
|
```
|
||||||
|
|
||||||
## Try:
|
|
||||||
|
### Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./dodsond1 < README.md
|
./dodsond1 < README.md
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
You might consider giving the following input:
|
You might consider giving the following input:
|
||||||
@@ -39,6 +43,7 @@ You might consider giving the following input:
|
|||||||
|
|
||||||
./dodsond1 < try.this.txt
|
./dodsond1 < try.this.txt
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
Istha ogrampra akesta Englishwa extta aswa inputwa andwa
|
Istha ogrampra akesta Englishwa extta aswa inputwa andwa
|
||||||
@@ -55,6 +60,7 @@ written as `ainma`.
|
|||||||
The program construction is also very obfuscated, with all of the
|
The program construction is also very obfuscated, with all of the
|
||||||
code being inside the ()'s of one of the 6 `orfa` loops.
|
code being inside the ()'s of one of the 6 `orfa` loops.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
@@ -3,18 +3,21 @@
|
|||||||
Don Dodson\
|
Don Dodson\
|
||||||
US
|
US
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./dodsond2
|
./dodsond2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
An amazing entry!
|
An amazing entry!
|
||||||
@@ -22,6 +25,7 @@ An amazing entry!
|
|||||||
The official chef enjoyed solving the maze, which she did on the first
|
The official chef enjoyed solving the maze, which she did on the first
|
||||||
attempt.
|
attempt.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
### Interactive 3D Maze
|
### Interactive 3D Maze
|
||||||
@@ -33,6 +37,7 @@ in an unknown labyrinth, areas which you have not visited cannot be seen.
|
|||||||
|
|
||||||
Reach the north-west left corner of level 1 to exit.
|
Reach the north-west left corner of level 1 to exit.
|
||||||
|
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||||
|
|||||||
Loaded 100 of 319 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user