diff --git a/1990/baruch/README.md b/1990/baruch/README.md index f4dbd73ed..6e16a7d77 100644 --- a/1990/baruch/README.md +++ b/1990/baruch/README.md @@ -16,19 +16,19 @@ make all -### To run +### To run: echo 4 | ./baruch echo 7 | ./baruch -## Judges' comments +## Judges' comments: 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' comments: The goal of this work was to write a program that solves the classic n-queen problem, with a board size of up to 99x99, while diff --git a/1990/dds/Makefile b/1990/dds/Makefile index cf0d62a7d..24ae2ee1c 100644 --- a/1990/dds/Makefile +++ b/1990/dds/Makefile @@ -99,7 +99,7 @@ CDEFINE= # Include files that are needed to compile # -CINCLUDE= +CINCLUDE= -include stdio.h #CINCLUDE= -include stdlib.h #CINCLUDE= -include stdio.h #CINCLUDE= -include stdlib.h -include stdio.h diff --git a/1990/dds/README.md b/1990/dds/README.md index a8758cb72..a809e8e50 100644 --- a/1990/dds/README.md +++ b/1990/dds/README.md @@ -32,13 +32,13 @@ Give the following lines as input: NOTE: this is case sensitive. -## Judges' comments +## Judges' comments: Be sure not to run out of fuel! -## Author's comments +## Author's comments: This is the DDS-BASIC Interpreter (Version 1.00). diff --git a/1990/dg/Makefile b/1990/dg/Makefile index e1c57ec94..bae7256b6 100644 --- a/1990/dg/Makefile +++ b/1990/dg/Makefile @@ -182,7 +182,6 @@ all: data ${TARGET} supernova deep_magic magic charon pluto ${PROG}: ${PROG}.c - @echo "NOTE: This entry might not compile when using modern compilers." ${CC} ${CFLAGS} $< -o $@ ${LIBS} # alternative executable diff --git a/1990/dg/README.md b/1990/dg/README.md index 69b485a88..70626833d 100644 --- a/1990/dg/README.md +++ b/1990/dg/README.md @@ -11,15 +11,15 @@ make all -### To run: +## To run: echo foo bar | ./dg -### Try: +## Try: echo "to C or not to C" | ./dg -## Judges' comments +## Judges' comments: Some C preprocessors got confused about single quotes in certain cases. In particular, the following source line: @@ -34,7 +34,7 @@ if the C preprocessor botches single quotes in cpp expansions, which we have done for the wider audience. -## Author's comments +## Author's comments: 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 diff --git a/1990/pjr/README.md b/1990/pjr/README.md index cb48c4515..b01cad3a8 100644 --- a/1990/pjr/README.md +++ b/1990/pjr/README.md @@ -12,11 +12,11 @@ make all -### To run +## To run: ./pjr -## Judges' comments +## Judges' comments: This program prints out a string. Can you figure out how it is done? diff --git a/1990/scjones/Makefile b/1990/scjones/Makefile index e6cc32a13..a25a5ee37 100644 --- a/1990/scjones/Makefile +++ b/1990/scjones/Makefile @@ -182,7 +182,6 @@ all: data ${TARGET} supernova deep_magic magic charon pluto ${PROG}: ${PROG}.c - @echo "NOTE: This entry might not compile when using modern compilers." ${CC} ${CFLAGS} $< -o $@ ${LIBS} # alternative executable diff --git a/1990/scjones/README.md b/1990/scjones/README.md index d2f8160ce..0c0772bbd 100644 --- a/1990/scjones/README.md +++ b/1990/scjones/README.md @@ -11,7 +11,7 @@ make all -Modern compilers might fail to compile this entry: +Modern compilers failed to compile this entry: scjones.c:1:7: error: expected ';' after top level declarator char*a??(??)=??< @@ -23,6 +23,8 @@ but we were able to get it to compile with modern compilers by specifying the `-ansi` flag with a tip from [Yusuke Endoh](/winners.html#Yusuke_Endoh). Thank you Yusuke! +We note that the compiler option `-trigraphs` would also have worked. + ### To run: diff --git a/1990/tbr/README.md b/1990/tbr/README.md index ffd462153..059a53a60 100644 --- a/1990/tbr/README.md +++ b/1990/tbr/README.md @@ -45,6 +45,9 @@ about the usage of `gets()`. NOTE: globs do not work with this entry. Why? +NOTE: `exit` does not work and neither does `logout`. To exit try sending ctrl-d +or ctrl-c (or kill it from another terminal :-) ). + ## Try: ./tbr diff --git a/1990/westley/README.md b/1990/westley/README.md index c092af8a5..cb8f0da73 100644 --- a/1990/westley/README.md +++ b/1990/westley/README.md @@ -12,7 +12,7 @@ make all -### To run +## To run: ./westley number