Merge pull request #46 from xexyl/1985
This commit is contained in:
7 files changed
+20
-13
No files matched your search
@@ -6,8 +6,7 @@ Jack Applin [with help from Robert Heckendorn]
|
||||
|
||||
make all
|
||||
|
||||
## Try:
|
||||
|
||||
## To run:
|
||||
|
||||
./applin
|
||||
|
||||
|
||||
@@ -7,11 +7,19 @@ Lennart Augustsson
|
||||
|
||||
make all
|
||||
|
||||
## To run:
|
||||
|
||||
./august
|
||||
|
||||
## Try:
|
||||
|
||||
|
||||
./august
|
||||
./august | head -n 10
|
||||
|
||||
If you have the `primes(6)` tool (sometimes part of BSD Games) you can see
|
||||
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:
|
||||
|
||||
@@ -6,8 +6,10 @@ Ed Lycklama
|
||||
|
||||
make all
|
||||
|
||||
NOTE: This entry uses non-standard args to main() that do not work with modern compilers.
|
||||
|
||||
## To run:
|
||||
|
||||
./lycklama < some_file
|
||||
|
||||
## Try:
|
||||
|
||||
|
||||
@@ -16,13 +16,13 @@ Carl Shapiro
|
||||
|
||||
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
|
||||
[shapiro.orig.c](shapiro.orig.c) is the original version.
|
||||
[shapiro.alt.c](shapiro.alt.c) is the original version.
|
||||
|
||||
|
||||
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.
|
||||
arguments and notice the output.
|
||||
|
||||
|
||||
Copyright (c) 1985, Landon Curt Noll & Larry Bassel.
|
||||
|
||||
File renamed without changes.
@@ -182,8 +182,7 @@ all: ${DATA} ${TARGET}
|
||||
supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
@echo "NOTE: This entry will not compile when using clang because it does not support"
|
||||
@echo " -traditional-cpp but it should compile with gcc."
|
||||
@echo "NOTE: NOTE: this entry requires a compiler that supports -traditional-cpp."
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
|
||||
# alternative executable
|
||||
|
||||
@@ -6,13 +6,12 @@ Col. G. L. Sicherman
|
||||
|
||||
make all
|
||||
|
||||
NOTE: This entry uses non-standard args to main() that do not work with modern compilers.
|
||||
NOTE: This entry requires a compiler that support `-traditional-cpp`.
|
||||
|
||||
NOTE: This entry requires a non-standard K&R C compiler to compile.
|
||||
|
||||
## Judges' comments:
|
||||
|
||||
This program abuses the C preprocessor so much that some /lib/cpp's fail to
|
||||
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
|
||||
understand Decot's entry in 1984, you will have a head start on this
|
||||
one.
|
||||
@@ -21,8 +20,8 @@ Be sure to run this program through lint! If your lint works
|
||||
correctly, it should warn you that the argument 'Manual' isn't used.
|
||||
Like the program says, what's that mean?
|
||||
|
||||
Run the program without arguments and enter the letters 'a' thru 'm'
|
||||
on a line. Now enter the letters 'n' thru 'z'. But to borrow a quote
|
||||
Run the program without arguments and enter the letters 'a' through 'm'
|
||||
on a line. Now enter the letters 'n' through 'z'. But to borrow a quote
|
||||
from Richard Stallman: If you think you understand what this code
|
||||
does, then you don't, so read it again! Explain why:
|
||||
|
||||
|
||||
Reference in new issue
Block a user