'comments' -> 'remarks' in all README.md files
As in
sgit -e 's/\([Aa]uthor.*\)comments/\1remarks/g' -e 's/\([Jj]udge.*\)comments/\1remarks/g' '*README.md'
This commit is contained in:
1 parent
508b760db4
commit
4bf3f302cb
341 files changed
+655
-655
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ In 1984, the first contest was held. The name of the contest was simply
|
||||
Look at the README.md file for the given winner for information on how to
|
||||
compile the winner and how to run the winning program. Look at the winning
|
||||
source and try to figure how it does what it does! You may then wish to look at
|
||||
the Author's comments for even more details.
|
||||
the Author's remarks for even more details.
|
||||
|
||||
Restrictions against machine dependent code were not in the [rules](rules.txt)
|
||||
in 1984. The source file size restriction was only 512 bytes. Rules and results
|
||||
|
||||
@@ -20,7 +20,7 @@ In the `read()` function which actually calls `write(2)` the `i` (which is the
|
||||
your assistance!
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The author was too embarrassed that they could write such trash, so I
|
||||
promised to protect their identity. I will say that the author of this
|
||||
@@ -39,7 +39,7 @@ for more information on the tattoo. This is what it looks like:
|
||||
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
### On remaining anonymous:
|
||||
|
||||
|
||||
@@ -37,11 +37,11 @@ make alt
|
||||
```
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This program prints out a string of garbage.
|
||||
|
||||
The judges also offer this one comment: understand comments!
|
||||
The judges also offer this one comment: understand remarks!
|
||||
|
||||
### Historical comments:
|
||||
|
||||
@@ -63,7 +63,7 @@ To see what we mean look at the source file in the
|
||||
[archive/archive-1984.tar.bz2](/archive-1984.tar.bz2) tarball or
|
||||
[decot.alt.c](decot.alt.c).
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ like:
|
||||
|
||||
This code should run you in circles.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Some new compilers dislike lines 6 and 10 of the source, so we changed
|
||||
them from:
|
||||
@@ -40,7 +40,7 @@ to:
|
||||
|
||||
I hope you have a C beautifier!
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ overflow! In fact it's argc itself.
|
||||
What happens if you hit enter after it writes a line of output?
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Without question, this C program is the one of the most obfuscated
|
||||
C program that has ever been received! Like all great contest
|
||||
@@ -82,7 +82,7 @@ couldn't! :-)
|
||||
|
||||
BTW: this remains my (Landon Curt Noll's) all time favorite entries!
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
These comments, found at
|
||||
[https://lainsystems.com/posts/exploring-mullender-dot-c/](https://lainsystems.com/posts/exploring-mullender-dot-c/),
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
Hints against machine dependent code were added to the [rules](rules.txt) to
|
||||
avoid another 1984 style winner ([1984/mullender](../1984/mullender)). Rules and
|
||||
|
||||
@@ -17,12 +17,12 @@ Ferguson](/winners.html#Cody_Boone_Ferguson) noted that this entry does not work
|
||||
under macOS. Try it out and see for yourself what happens!
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
One liner programs are short but twisted. This "Hello, World" version
|
||||
certainly takes its time saying hello.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ what of the output in the first N (say 15) lines are primes:
|
||||
while read -r n ; do primes "$n" $((n + 1)) ; done < <((./august | head -n 15 ))
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
An interesting use of a recursive call to main. Compile and execute
|
||||
without args. What is the initial value of b, and does it alter the
|
||||
@@ -32,7 +32,7 @@ If you let it, the program will continue to print a numerical sequence
|
||||
(can you guess in what base it is printed?) until you run out of
|
||||
memory or until they sell your computer, which ever comes first.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -47,13 +47,13 @@ Use `./lylycklama.alt` as you would `./lycklama` above.
|
||||
```
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Run the program, redirecting a file into it, and notice how it redisplays it.
|
||||
The program itself looks like tty noise.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Carl Shapiro
|
||||
./shapiro
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
As submitted, this program was 3 lines (2 of defines and 1 of code).
|
||||
To make news & mail happy we split the last line into 7. The file
|
||||
@@ -24,7 +24,7 @@ This program was selected for the 1987 t-shirt collection.
|
||||
We found this program is be simply a**maze**ing! Run this program without
|
||||
arguments and notice the output.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ make alt
|
||||
|
||||
Use `sicherman.alt` as you would `sicherman`.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This program abuses the C preprocessor so much that some /lib/cpp fail to
|
||||
strip out all of the comments on the first pass! If you were able to
|
||||
@@ -55,7 +55,7 @@ does, then you don't, so read it again! Explain why:
|
||||
results in diff reporting a difference on some machines.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ The 1986 contest was named: "The Third International Obfuscated C Code Contest"
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
The [rules for 1986](rules.txt) suggested categories due to the success of the 1985
|
||||
judging method. The maximum size was increased from 512 to 1024 bytes.
|
||||
|
||||
@@ -21,14 +21,14 @@ USA
|
||||
./applin
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
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
|
||||
compilers as well as executable by the Bourne shell!
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ Sweden
|
||||
|
||||
NOTE: this entry is very likely to core dump after its output.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This program computes a specific mathematical value. Simply compile
|
||||
and give it an infinite amount of stack space and cpu time. Otherwise
|
||||
@@ -29,7 +29,7 @@ dump.
|
||||
This program will pass lint on your system assuming your lint is brave
|
||||
enough to try and parse it correctly.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ Walter Bright
|
||||
./bright bright
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Compile this program and give a filename as an argument.
|
||||
|
||||
@@ -26,7 +26,7 @@ excessive shifting to obfuscate an otherwise useful binary display
|
||||
program. This gives you a small example of what it is like to
|
||||
maintain the Bourne shell! :-}
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ compiling and running this program with some systems.
|
||||
Jim Hague
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Compile this program and feed ASCII text into standard input. This
|
||||
program is known to pass lint on some systems and abort lint on
|
||||
@@ -39,7 +39,7 @@ similar variables can be obfuscating! The author notes that this
|
||||
program implements the international Morse standard. Now for extra
|
||||
credit, what Morse message does the program spell out?
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -23,14 +23,14 @@ Cody for your assistance!
|
||||
./holloway
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Believe it or not, this is the old standard "Hello, world" program
|
||||
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
|
||||
this version as the first C program!
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ Cody for your help!
|
||||
|
||||
./marshall
|
||||
|
||||
# Judges' comments:
|
||||
# Judges' remarks:
|
||||
|
||||
This program prints the name of the picture. The layout is somewhat
|
||||
pretty though it is not the usual sort of output one would expect
|
||||
@@ -32,7 +32,7 @@ This program was selected for the 1987 t-shirt collection.
|
||||
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -16,13 +16,13 @@ San Diego, Ca
|
||||
./pawka
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
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
|
||||
is obfuscated, of all things!
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ Jan Stein
|
||||
make all
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
NOTE: to avoid problems with news and mail, the single line was split
|
||||
into 3 lines. Join all lines into a single line to recreate
|
||||
@@ -24,7 +24,7 @@ Try the program with the following argument:
|
||||
output cleanly. Your system may require another set of characters.
|
||||
In time, you will figure out what it does. :-)
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
+2
-2
@@ -42,7 +42,7 @@ make CFLAGS+="-traditional-cpp" alt
|
||||
|
||||
Use `./wall.alt` as you would `./wall`.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The original version did not have a ';' character in the first line.
|
||||
This caused a number of System V C pre-preprocessors to gripe about a
|
||||
@@ -54,7 +54,7 @@ the warning message generated by the C compiler. Then execute the
|
||||
program and type characters into its standard input. You will see why
|
||||
the compiler documents the program.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
The [rules for 1997](rules.txt) suggested even more categories than in 1986.
|
||||
Hints for what to do and not to do were also given in the [rules](rules.txt).
|
||||
|
||||
@@ -20,7 +20,7 @@ Santa Monica, CA
|
||||
cat biggar.c | ./biggar | od -c
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
By changing the compile line you can make this program do anything you
|
||||
want. This is a very efficient way to transfer source, though it
|
||||
@@ -45,7 +45,7 @@ Passes BSD and UTS lint. At least one version of lint is thrown into
|
||||
an infinite loop by this entry.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ Ask yourself what happens to `foo.md` if you try:
|
||||
./ph 40 < README.md > foo.md
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Folding at the wrong length may be equivalent to a "Spindle or Mutilate" operation. For example:
|
||||
|
||||
@@ -36,7 +36,7 @@ Try not to
|
||||
files. :-)
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ can try the alt version:
|
||||
|
||||
Use `hines.alt` as you would `hines` above.
|
||||
|
||||
## Judges' comments
|
||||
## Judges' remarks
|
||||
|
||||
This program was designed to maximize the bother function for
|
||||
structured programmers. This program takes goto statements to their
|
||||
@@ -39,7 +39,7 @@ letter to ACM form titled: _"'GOTO Considered Harmful' Considered Harmful"_.
|
||||
See the Communications of the ACM, March 1987, Page 195-196.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ USA
|
||||
|
||||
make all
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The Judges believe that this is the best one line entry ever received.
|
||||
Compile on a `UN*X` system, or at least using a C implementation that
|
||||
|
||||
@@ -54,7 +54,7 @@ been without the size restriction. This version has the full end game
|
||||
logic and displays the board after each move!
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
+2
-2
@@ -54,7 +54,7 @@ and enter some input like:
|
||||
quit # for the cat version
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
What we found amazing was how the flow of control was transferred
|
||||
@@ -67,7 +67,7 @@ done and how it is being exploited?
|
||||
Some compilers complained about this file, so we changed: '=++I' to '= ++I'.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ which is true symmetry:
|
||||
./westley
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Putchar must exist in the C library and not just as a macro.
|
||||
If it fails to compile, add the line: `#include <stdio.h>` at the
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
The maximum size of entries was raised from 1024 to 1536 bytes, however
|
||||
smaller entries were encouraged. Due to the ["Best Abuse of the Rules"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
./applin
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This entry is by far the most unusual abuse of the C preprocessor that
|
||||
we have received thus far. Nearly all of the real work is done in the
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ Thank you Cody for your assistance!
|
||||
NOTE: in linux it might happen that core dumps are created when running this
|
||||
entry even though it works fine.
|
||||
|
||||
## Judges' comments
|
||||
## Judges' remarks
|
||||
|
||||
This entry has a very twisted flow of control via recursion, iteration
|
||||
and multi-processing. Try to understand what is being done with the
|
||||
|
||||
@@ -35,7 +35,7 @@ using that macro for `#define`. This version will not likely work on modern
|
||||
systems if you can even get it to compile.
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
NOTE: The program relies heavily on ASCII. Don't even think of running it on
|
||||
an EBCDIC machine. If you name the file anything other than "isaak.c", you must
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
./litmaath eschew obfuscation
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Note the unusual structure:
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ be `char **` :-) ) with the correct args it now works. Thank you Cody for your
|
||||
assistance!
|
||||
|
||||
|
||||
## Judges' comments
|
||||
## Judges' remarks
|
||||
|
||||
Compile and run without parameters.
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
char *(*(fun[16])();
|
||||
|
||||
|
||||
## Judges' comments
|
||||
## Judges' remarks
|
||||
|
||||
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
|
||||
|
||||
@@ -55,7 +55,7 @@ For clang try the alt code like:
|
||||
|
||||
NOTE: you need to make clobber first for this entry to work right.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
We enjoyed this entry this year, however in the future programs must be able to
|
||||
be compiled from within a Makefile without the need of human intervention.
|
||||
@@ -64,7 +64,7 @@ Meanwhile Cody was twisted enough to point out (though to be fair he felt sick
|
||||
doing this) that with a slight modification this entry can be C++ instead. We don't
|
||||
thank him for this ghastly point! :-)
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program can be configured to do almost everything. The configuration is
|
||||
done during compile time by typing in, C code, that one would like the program
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
./westley
|
||||
|
||||
|
||||
## Judges' comments
|
||||
## Judges' remarks
|
||||
|
||||
Your compiler must parse
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
Instructions for use: Run make to compile entries (it is possible
|
||||
that on System V or non-unix systems the Makefile needs to be
|
||||
|
||||
@@ -24,7 +24,7 @@ modern systems. Thank you Cody for your assistance!
|
||||
./fubar 2
|
||||
|
||||
|
||||
## Judges' comments
|
||||
## Judges' remarks
|
||||
|
||||
Run this with a single digit argument (or wait a long time).
|
||||
|
||||
@@ -34,7 +34,7 @@ Do you know why?
|
||||
NOTE: don't try running `ouroboros.c` directly with an arg as it'll turn into an
|
||||
infinite loop. The same will happen with larger numbers.
|
||||
|
||||
## Author's comments
|
||||
## Author's remarks
|
||||
|
||||
In a nutshell, this is probably the slowest and most
|
||||
obnoxious factorial program ever written. Unfortunately,
|
||||
|
||||
@@ -31,7 +31,7 @@ Thank you Cody for your assistance!
|
||||
|
||||
NOTE: this entry will likely segfault on invalid input.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This is the most useful program entered this year. It is a
|
||||
rather large subset of lisp. It has no error recovery, and
|
||||
|
||||
@@ -30,7 +30,7 @@ by chance or is killed.
|
||||
./ovdluhe < README.md
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Run this program using your favorite text file as input. Files
|
||||
such as mailboxes, man pages and usenet articles are especially
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ macOS. The problem was that the int (from `#define f`) should be a long. This
|
||||
became apparent when he was using lldb and saw that the type of a pointer was
|
||||
long. Thank you Cody for your assistance!
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The original source contained a long line which caused many
|
||||
mailers to barf. The original file may be re-constructed by
|
||||
|
||||
@@ -39,7 +39,7 @@ Yusuke!
|
||||
|
||||
NOTE: this entry will crash with numbers with non binary digits.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Sites with punch card facilities will be happy to note that
|
||||
the source deck can be re-collated with an ASCII sort.
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
./roemer
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Do you know what this program does? If you do, look again,
|
||||
there is more here than meets the PI.
|
||||
|
||||
@@ -64,7 +64,7 @@ file might look like:
|
||||
.... hey, I haven't played in a very long time and the lower one was hitting
|
||||
space (default drop) in rapid succession :-)
|
||||
|
||||
## Judges' comments
|
||||
## Judges' remarks
|
||||
|
||||
This is a character terminal version of the TETRIS program.
|
||||
It runs on a VT100 compatible terminal or emulator. It is
|
||||
@@ -91,7 +91,7 @@ As was stated last year, we are likely to be more strict about
|
||||
portability in the future. [ We mean it this time :-) ]
|
||||
|
||||
|
||||
## Author's comments
|
||||
## Author's remarks
|
||||
|
||||
This program plays the familiar game of `TETRIS' with the
|
||||
following features:
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
./vanb the rug gary lent
|
||||
./vanb unix is better than os/2
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This program computes all proper subsets of the set of
|
||||
arguments passed to it. Each subset is printed with one
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
This year, the Grand Prize won a standing ovation at USENIX.
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ Why is there no output?
|
||||
### Alternate code:
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) provided alternate code
|
||||
for users using Turbo-C or MSC, based on the authors' comments below, except
|
||||
for users using Turbo-C or MSC, based on the authors' remarks below, except
|
||||
that he did not change the `" #Q"` string as that showed worse looking output
|
||||
instead of improved output though he has no way to test the compilers in
|
||||
question. YMMV. Thank you Cody (though we all think <strike>[no
|
||||
@@ -55,14 +55,14 @@ make alt
|
||||
Use `baruch.alt` as you would `baruch`.
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This program reads an integer between 4 and 99 from the stdin.
|
||||
|
||||
NOTE: The original program did not have a newline at the end of the file. We
|
||||
added a final newline to the file to make unpacking easy.
|
||||
|
||||
## Authors' comments:
|
||||
## Authors' remarks:
|
||||
|
||||
The goal of this work was to write a program that solves the classic [n-queens
|
||||
problem](https://en.wikipedia.org/wiki/Eight_queens_puzzle), with a board size
|
||||
|
||||
@@ -36,7 +36,7 @@ For the original code see the [1992 archive](/archive/archive-1990.tar.bz2).
|
||||
```
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
The Makefile uses several `-D` defines. The following is is a list of the macros
|
||||
@@ -49,7 +49,7 @@ that may be changed:
|
||||
The macro `V` should remain `void`.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This is a blackjack program. It does splits, doubling down, insurance, etc.
|
||||
|
||||
|
||||
+2
-2
@@ -37,12 +37,12 @@ RUN
|
||||
|
||||
NOTE: this is case sensitive.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Be sure not to run out of fuel!
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This is the DDS-BASIC Interpreter (Version 1.00).
|
||||
|
||||
|
||||
+2
-2
@@ -25,7 +25,7 @@ echo foo bar | ./dg
|
||||
echo "to C or not to C" | ./dg
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Some C preprocessors got confused about single quotes in certain cases.
|
||||
In particular, the following source line:
|
||||
@@ -44,7 +44,7 @@ particularly if the C preprocessor botches single quotes in cpp expansions,
|
||||
which we have done for the wider audience.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
If my preprocessor could hack it, I could write this as one single line rather
|
||||
than 4, but when I do that I get a complaint "defines nested too deeply".
|
||||
|
||||
+2
-2
@@ -48,7 +48,7 @@ echo "Quartz glyph jocks vend, fix, BMW." | compress | ./btoa | ./jaw
|
||||
which should apply the identity transformation to a minimal holoalphabetic
|
||||
sentence.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
The program, in its base form, implements two useful utilities:
|
||||
@@ -78,7 +78,7 @@ cmp ../jaw.c jaw.c
|
||||
cmp ../README.md README.md
|
||||
```
|
||||
|
||||
## Authors' comments:
|
||||
## Authors' remarks:
|
||||
|
||||
### ABSTRACT
|
||||
|
||||
|
||||
+2
-2
@@ -20,7 +20,7 @@ make all
|
||||
./pjr
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This program prints out a string. Can you figure out how
|
||||
it is done?
|
||||
@@ -49,7 +49,7 @@ by use of pointers to functions returning a struct of pointers
|
||||
to functions!
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
Vg vf fvzcyr gb znxr gur cebtenz cevag bgure fgevatf. Rnpu
|
||||
nycunorgvpny punenpgre sebz n gb m vf cevagrq bhg nf vgf
|
||||
|
||||
@@ -36,7 +36,7 @@ compiler option `-trigraphs` would also have worked.
|
||||
./scjones
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The addition of trigraphs has made it easier to make programs hard to read. It
|
||||
was a dark and stormy night for C when the ANSI C committee added trigraphs to
|
||||
@@ -53,7 +53,7 @@ The Author sent us this note after he was informed that he won:
|
||||
... it was unintentional.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
Since this year's contest is dedicated to ANSI C, here is a strictly conforming
|
||||
entry. In accordance with the ANSI definition of a strictly conforming program
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@ NOTE: that's not a typo or mistake but one can also do:
|
||||
./o
|
||||
```
|
||||
|
||||
## Judges' comments
|
||||
## Judges' remarks
|
||||
|
||||
We changed the alias that the author's suggested alias from a
|
||||
C-shell alias to a zsh alias.
|
||||
@@ -34,7 +34,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
|
||||
obfuscation. This type of entry will not be permitted in future contests.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
If you like shell programming you may also admire my creative quoting. (I use
|
||||
echo to create an alias which when run calls cc with the -D option to create a C
|
||||
|
||||
+2
-2
@@ -57,7 +57,7 @@ vi tbr.c
|
||||
What happens if you try using `cd -` to return to previous directory? What about
|
||||
`cd` with no args?
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
This program touches on a well known Unix utility, the 6th edition Bourne Shell
|
||||
@@ -86,7 +86,7 @@ e(x){x<0?write(2,"?\n$ "-x/4,2),x+1||(exit(1),0):5;}
|
||||
It has the `exit()` returns void fix but not the `gets()` to `fgets()` fix
|
||||
applied.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
### Rot13:
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ If the two args added up equals 0 the program will enter an infinite loop,
|
||||
printing 0 over and over again. Cody fixed another condition where this happens
|
||||
but this has not been fixed. See [bugs.md](/bugs.md) for more details.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The program's source implements four functions, all from the
|
||||
same source file!
|
||||
@@ -125,7 +125,7 @@ knife](https://en.wikipedia.org/wiki/Swiss_Army_knife) included! :-)
|
||||
When this program was first shown at the 1990 Summer Usenix conference, it
|
||||
received a standing ovation; a first for a contest entry.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
Differential equations are solved via the Runge-Kutta method, which guarantees
|
||||
local error proportional to h^5, and total error across a finite interval is at
|
||||
|
||||
@@ -50,7 +50,7 @@ make alt
|
||||
Use `westley.alt` as you would `westley`.
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
If you would rather "Daisy" someone other than Westley, rename
|
||||
@@ -70,7 +70,7 @@ make it easier on news readers, we converted each control-L to
|
||||
a blank line.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This is a "Picking the Daisy" simulation. Now, instead of mangling a
|
||||
daisy, simply run this program with the number of petals desired as
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
Instructions for use: Run make to compile entries. It is possible that
|
||||
on BSD or non-unix systems the makefile needs to be changed.
|
||||
|
||||
+2
-2
@@ -28,7 +28,7 @@ cp README.md hill
|
||||
./ant hill
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The author was kind enough to supply a list of references below,
|
||||
in case you are still confused after read the source! :-)
|
||||
@@ -44,7 +44,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
|
||||
commands section for other commands.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
Ant's Editor vIOCCC91
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ were resolved with the comma operator. Thank you Cody for your assistance!
|
||||
See also the other `sorta.*` files.
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
For info on more examples, read the [sorta.README.md](sorta.README.md) file.
|
||||
|
||||
@@ -44,7 +44,7 @@ this entry.
|
||||
To have a chance to compile under a modern CPP, we had to
|
||||
replace `#D` with `#define`.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This is an interpreter for the programming language SORTA, a systems
|
||||
and numerical programming language with features sorta from C, sorta
|
||||
|
||||
@@ -18,13 +18,13 @@ make all
|
||||
./buzzard
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
You will be A-mazed.
|
||||
|
||||
You are invited to try to cheat, ... if you can figure out how! :-)
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
### HOW TO PLAY:
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ make all
|
||||
./cdupont
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Why is the following label necessary?
|
||||
|
||||
@@ -34,7 +34,7 @@ NOTE: One should remove the final trailing newline to obtain the
|
||||
original source file. This step is not needed to compile
|
||||
this entry.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
Spoiler, rot13 to read:
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ cp -f davidguy guydavid
|
||||
|
||||
Can you determine why this makes a difference?
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
We permitted this type of entry to win because:
|
||||
@@ -60,7 +60,7 @@ explain this further.
|
||||
We are pleased that this entry has helped bring new 'life' into
|
||||
the contest.
|
||||
|
||||
## Authors' comments:
|
||||
## Authors' remarks:
|
||||
|
||||
The program is a fully-functional X client. It talks directly to
|
||||
the X server through a socket without using Xlib, Xt or any other
|
||||
|
||||
+2
-2
@@ -79,7 +79,7 @@ make clobber alt
|
||||
Thank you Cody for your assistance!
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
Notice that a file `a.c` has been generated. Can you tell how `a.c` was
|
||||
@@ -92,7 +92,7 @@ NOTE: Due to minor problems with some strict ANSI C compilers, we
|
||||
have supplied a more portable ANSI version.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program is a companion to the DDS-BASIC interpreter program that
|
||||
was submitted to the contest in 1990. This compiles BASIC programs into
|
||||
|
||||
+2
-2
@@ -31,7 +31,7 @@ rail
|
||||
clerk" | ./fine
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This filter, 80 chars plus a newline, fits into a single line on most
|
||||
terminals (unless your terminal has a line wrap mis-feature :-)).
|
||||
@@ -44,7 +44,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
|
||||
the high bit off of some input?
|
||||
|
||||
## Author's comments
|
||||
## Author's remarks
|
||||
|
||||
The author wishes to thank J Greely for the last 6 bytes.
|
||||
|
||||
|
||||
@@ -20,11 +20,11 @@ make all
|
||||
./rince
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This entry has been updated to allow most ANSI C compilers.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program is a simple puzzle type game. (I'll leave you to play
|
||||
it to see the rest of it .. :-) .) The general idea was to try and
|
||||
|
||||
@@ -37,7 +37,7 @@ make nextmove
|
||||
./nextmove move_location | tee nextmove.c
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
We have provided the shell script, [ttt](ttt.sh), to make it easier to play the game:
|
||||
|
||||
@@ -59,7 +59,7 @@ has two other modes:
|
||||
|
||||
Try not to cheat, the computer has not learned how to catch you doing it.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
A tic-tac-toe self-modifying program that "learns". This C program
|
||||
plays standard tic-tac-toe on itself. The code is written as a
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
Use make to compile entries. It is possible that on BSD or non-unix
|
||||
systems the makefile needs to be changed. See the Makefile for details.
|
||||
|
||||
@@ -42,14 +42,14 @@ For the slow minded, try:
|
||||
NOTE: if you do not specify an arg to the program it will segfault.
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Once you get past the obfuscation, you have an opportunity to learn
|
||||
about regular expressions and state machines.
|
||||
|
||||
NOTE: Some compilers have had trouble optimizing this entry.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
### ADrian's GREP (adgrep)
|
||||
|
||||
|
||||
@@ -58,13 +58,13 @@ make alt
|
||||
|
||||
Use `albert.alt` as you would `albert` above.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
We were impressed with the speed at which it was able to factor
|
||||
arbitrarily large numbers consisting of factors that fit into
|
||||
a long.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
The Obfuscated version of the Horst algorithm.
|
||||
|
||||
|
||||
+2
-2
@@ -37,7 +37,7 @@ make am
|
||||
```
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
Like much of POSIX, obfuscation has its place. Your task is to
|
||||
@@ -48,7 +48,7 @@ Interested POSIX balloters should lobby the IEEE for an obfuscated
|
||||
P1003 subcommittee.
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
See the file [ant.README](ant.README).
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ NOTE: this program will crash without two args.
|
||||
./buzzard.1 1 521
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
To see good C Preprocessor buzzard.1, try:
|
||||
|
||||
@@ -41,7 +41,7 @@ cat babble.cppcb
|
||||
|
||||
Notice how many statements it takes to do anything useful?
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
What you shouldn't think about `buzzard.1`:
|
||||
|
||||
|
||||
@@ -61,11 +61,11 @@ make alt
|
||||
|
||||
Use `buzzard.2.alt` as you would `buzzard.2` above.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Have fun!
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
### What it does:
|
||||
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ cat README.md | ./mkdict.sh > words
|
||||
|
||||
Then try using the program as shown above with the file `words`.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
The name of the game:
|
||||
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@ make all
|
||||
./imc
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The program is more interesting to run on workstations that can make use of a
|
||||
Sun raster file. Others can make use of the -text flag for character oriented
|
||||
@@ -35,7 +35,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
|
||||
modified to avoid this problem.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
### Portability:
|
||||
|
||||
|
||||
@@ -46,9 +46,9 @@ Yusuke!
|
||||
./kivinen a b
|
||||
```
|
||||
|
||||
See also the author's comments for other variations.
|
||||
See also the author's remarks for other variations.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
|
||||
The type of entertainment depends on number of arguments
|
||||
|
||||
+3
-3
@@ -20,7 +20,7 @@ make all
|
||||
|
||||
|
||||
[Yusuke Endoh](/winners.html#Yusuke_Endoh) supplied a patch which makes this
|
||||
work with gcc. Due to how it works (see Judges' comments below) this will not
|
||||
work with gcc. Due to how it works (see Judges' remarks below) this will not
|
||||
work with clang. Thank you Yusuke!
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made it use `fgets()`
|
||||
@@ -31,13 +31,13 @@ with clang due to different compiler messages. Thank you Cody!
|
||||
For the original entry see the [archive tarball](/archive/archive-1992.tar.bz2).
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The program uses error messages issued by the C Preprocessor to
|
||||
generate its message to the world. One program's error is another
|
||||
program's data!
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program is yet another "Hello World." program with a twist. The
|
||||
string Hello World has been encoded in the error messages the compiler
|
||||
|
||||
@@ -18,7 +18,7 @@ make all
|
||||
./marangon
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The object is to refill the table with 5's, by incrementing or decrementing
|
||||
numbers as needed. It is the side effects that get you into trouble. If you
|
||||
@@ -32,7 +32,7 @@ NOTE: The original winning source `marangon.orig.c`, found in the archive
|
||||
directory, assumed that exit returns a value which cause problems for some
|
||||
systems where exit returns a void. The file `marangon.c` avoids this problem.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
It starts off by creating a table with number 5 in all places. The CPU melts
|
||||
the numbers and you must return them in original state. When you increase a
|
||||
|
||||
@@ -28,7 +28,7 @@ diff nathan.c barfoof.c
|
||||
```
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
### WARNING:
|
||||
|
||||
@@ -82,7 +82,7 @@ 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
|
||||
re-distribute a program contest winner to the network!
|
||||
|
||||
## Author's comments
|
||||
## Author's remarks
|
||||
|
||||
### PROGRAM USE:
|
||||
|
||||
|
||||
+2
-2
@@ -32,7 +32,7 @@ You might start off by giving the following input:
|
||||
67 57 # (this may take a while)
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The judges assume no responsibility for the obfuscated opening
|
||||
suggested above. :-)
|
||||
@@ -52,7 +52,7 @@ NOTE: Move values must be restricted to the range 00 to 77.
|
||||
NOTE: Because some mailers have problems with the original winning source,
|
||||
a slightly modified version with shorter lines has been provided.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program plays chess. You play the white pieces and the program
|
||||
the black pieces. Moves are entered as a two-digit number specifying
|
||||
|
||||
@@ -19,7 +19,7 @@ changing the third and fourth arg of main() to be ints inside main(); clang
|
||||
requires args 2 - 4 to be `char **`. He also fixed it so that the program would
|
||||
not segfault if not enough args were specified. He did the same for the
|
||||
alternative version (see below) provided by the author (the original can be seen
|
||||
in the author's comments below). Thank you Cody for your assistance!
|
||||
in the author's remarks below). Thank you Cody for your assistance!
|
||||
|
||||
## To run
|
||||
|
||||
@@ -61,7 +61,7 @@ Use `westley.alt` as you would `whereami` above.
|
||||
NOTE: this alternative version also needs a terminal that wraps at 80 columns.
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
To find the approximate place where this entry was judged, type:
|
||||
|
||||
@@ -69,7 +69,7 @@ To find the approximate place where this entry was judged, type:
|
||||
./whereami 37 -122 (- means west of meridian)
|
||||
```
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
Run the program with your latitude & longitude as integer
|
||||
arguments; it will produce a map made up of '!' with the given
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
Use make to compile entries. It is possible that on BSD or non-unix
|
||||
systems the makefile needs to be changed. See the Makefile for details.
|
||||
|
||||
+2
-2
@@ -26,14 +26,14 @@ You may also want to try the author's test suite:
|
||||
make -f ant.test.mk
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
See the author's POSIX P1003.2-like documentation file ant.txt for more
|
||||
information.
|
||||
|
||||
This program demonstrates that POSIX doesn't guarantee readability. :-)
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
Some of the features of my entry are:
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ where:
|
||||
|
||||
`speed` is update speed from 1 to 9 (default is 9).
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
From the San Jose Mercury News (May 15, 1993 page 20A "West Hackers
|
||||
trounce East in computer quiz game"):
|
||||
@@ -62,7 +62,7 @@ the program.
|
||||
|
||||
This program makes your windows about as useful as their windows. :-)
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
The program uses a single backing pixmap (which is the size of the
|
||||
screen) for all of its subwindows (with a little bit of trickery to
|
||||
|
||||
@@ -29,7 +29,7 @@ where:
|
||||
./dgibson.sh dgibson.data3
|
||||
```
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
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
|
||||
@@ -49,7 +49,7 @@ memory and lots of time!
|
||||
Good luck trying to use a debugger on this entry! Life is not
|
||||
always pretty.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program plays the [Game of
|
||||
Life](https://en.wikipedia.org/wiki/Conway's_Game_of_Life).
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@ where:
|
||||
|
||||
level a value from -128 to 127
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
A negative argument plays the patience puzzle. An argument
|
||||
greater than 0 plays the Tower of Hanoi puzzle. In either case
|
||||
@@ -31,7 +31,7 @@ the argument 127 to this program and want to see it finish!
|
||||
|
||||
We note that this also works under macOS just fine.
|
||||
|
||||
## Author's comments
|
||||
## Author's remarks
|
||||
|
||||
WHAT THIS PROGRAM DOES
|
||||
======================
|
||||
|
||||
@@ -35,7 +35,7 @@ prepended to them. Thank you Yusuke and Cody for your assistance!
|
||||
|
||||
./jonth # must be run on an X11 server
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Use 'h' and 'l' to shift objects left or right. Use 'k' to
|
||||
rotate and press SPACE to drop.
|
||||
@@ -44,7 +44,7 @@ This program's output may be even more obfuscated when played
|
||||
on inverse video. :-)
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This is `jonth` (`jon's t(h)etris`) for the X Window System.
|
||||
|
||||
|
||||
+2
-2
@@ -28,7 +28,7 @@ where:
|
||||
|
||||
colors number of possible colors (1 to 15) (default: 6)
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
By default, the number of colors if 6. You may specify a
|
||||
value of between 1 and 15 colors. See the author's notes
|
||||
@@ -37,7 +37,7 @@ for instructions of how to play.
|
||||
We look forward to more entries from the newer members of the
|
||||
International Internet community.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program plays mastermind, if you call it by a name ending by
|
||||
'd', otherwise it _solves_ mastermind. Call it without parameters
|
||||
|
||||
@@ -35,7 +35,7 @@ and the bogus file will be:
|
||||
|
||||
";main(){puts("Hello World!");}char*C=".c
|
||||
|
||||
For an explanation of why this is see the author's comments.
|
||||
For an explanation of why this is see the author's remarks.
|
||||
|
||||
## To run:
|
||||
|
||||
@@ -43,12 +43,12 @@ If you have gcc < 2.3.3:
|
||||
|
||||
./lmfjyh
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
There's more than one way to get around disk quotas. :-)
|
||||
|
||||
|
||||
## Author's comments;
|
||||
## Author's remarks;
|
||||
|
||||
"Practical and efficient method of compressing source code".
|
||||
|
||||
|
||||
@@ -21,12 +21,12 @@ where:
|
||||
|
||||
NOTE: this entry will crash without enough args.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
For extra credit: What happens when 'number' contains non-numeric
|
||||
characters, and why?
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program prints out all numbers up to a given number of digits
|
||||
on a single line. When the largest number is reached, the program
|
||||
|
||||
@@ -28,7 +28,7 @@ where:
|
||||
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The author has provided several CABBAGE files for your amusement:
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ Try feeding the program source to the program and ask both:
|
||||
What is cat?
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
After this program prints the contents of 'file', ask it
|
||||
some questions related to the text.
|
||||
@@ -67,7 +67,7 @@ NOTE: If you have a ' in the question this entry may fail.
|
||||
|
||||
NOTE: The author may also be contacted at: marks@aldrin.ksc.nasa.gov.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
I wanted to write a program that would read in a text file in
|
||||
natural language (such as English) and answer questions about that
|
||||
|
||||
+2
-2
@@ -30,7 +30,7 @@ where 'exp' is an octal expression
|
||||
./vanb 4+4
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The octal expression may contain:
|
||||
|
||||
@@ -47,7 +47,7 @@ one should surround the expression in single quotes.
|
||||
It is a good thing that this program consists of only one
|
||||
expression, otherwise it might become hard to understand. :-)
|
||||
|
||||
## Author's comments
|
||||
## Author's remarks
|
||||
|
||||
The program does no error checking - erroneous expressions will
|
||||
produce spurious results. Note that unary '-' is an operator. Thus,
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Look at the README.md file for the given winner for information
|
||||
on how to compile the winner and how to run the winning program.
|
||||
Look at the winning source and try to figure how it does what it does!
|
||||
You may then wish to look at the Author's comments for even more details.
|
||||
You may then wish to look at the Author's remarks for even more details.
|
||||
|
||||
Use make to compile entries. It is possible that on BSD or non-unix
|
||||
systems the makefile needs to be changed. See the Makefile for details.
|
||||
|
||||
@@ -16,13 +16,13 @@ USA
|
||||
|
||||
NOTE: At the prompt, try entering E3.
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
The program plays the game that the layout of the source implies.
|
||||
The source, on the other hand, implies a language along the
|
||||
lines of Lisp. :-)
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
For each turn, the board is displayed and the player is prompted for
|
||||
a move. Enter your move as an upper-case character followed by a number.
|
||||
|
||||
@@ -14,7 +14,7 @@ USA
|
||||
|
||||
./dodsond2
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Each year people find new ways to squeeze more and more out of the
|
||||
contest rules. Next year, entries that use compression utilities
|
||||
@@ -46,7 +46,7 @@ this fun "_abuse of the rules_" style hack.
|
||||
It is worth noting that without this compression "_abuse of the rules_"
|
||||
style hack, the [dodsond2.c](dodsond2.c) is further obfuscated.
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
Go searching for the Wumpus in the Caverns of Doom! But be careful...
|
||||
There are pits and bats waiting to seal your fate, as well as a
|
||||
|
||||
@@ -38,13 +38,13 @@ make horton.alt
|
||||
(Use `horton.alt` as you would `horton` above.)
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
Try to figure out how this program prints, for a given slope, the
|
||||
right character. And for extra credit, try to figure out which
|
||||
character is at the bottom on this hint file. :-)
|
||||
|
||||
## Author's comments
|
||||
## Author's remarks
|
||||
|
||||
Run it with any 4 numeric arguments, e.g. prog 3 2 1 0. Play with the
|
||||
numbers to get a pleasing result, or use it for your high school algebra
|
||||
|
||||
+2
-2
@@ -24,12 +24,12 @@ England
|
||||
./imc 4
|
||||
./imc 6
|
||||
|
||||
## Judges' comments:
|
||||
## Judges' remarks:
|
||||
|
||||
This entry's algorithm is as magic as its output!
|
||||
|
||||
|
||||
## Author's comments:
|
||||
## Author's remarks:
|
||||
|
||||
This program may be compiled with an ANSI or K&R compiler. A few
|
||||
harmless warnings are displayed only if "gcc -Wall" is used.
|
||||
|
||||
Loaded 100 of 341 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user