Updates to README.md files in 1990 entries
This commit is contained in:
1 parent
bede24af38
commit
50e026a93f
10 files changed
+19
-16
No files matched your search
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+2
-2
@@ -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).
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
+4
-4
@@ -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
|
||||
|
||||
+2
-2
@@ -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?
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
make all
|
||||
|
||||
### To run
|
||||
## To run:
|
||||
|
||||
./westley number
|
||||
|
||||
|
||||
Reference in new issue
Block a user