README.md and Makefile files from various years
These are mostly just formatting fixes but there might be some typos here and there. These years have not been checked thoroughly but I made fixes and want them in for when I do work on them. As far as the Makefiles go: notes were added that correspond to the notes in the README.md files which is why I have put them in the same commit.
This commit is contained in:
1 parent
fa2a763f6c
commit
c91b3c5565
11 files changed
+121
-105
No files matched your search
@@ -182,7 +182,9 @@ all: data ${TARGET}
|
||||
supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
@echo "NOTE: This entry might not compile when using modern compilers."
|
||||
@echo "NOTE: This will not compile when using modern compilers because"
|
||||
@echo "it relies on a compiler bug which was fixed in gcc 2.3.3 (a very"
|
||||
@echo "long time ago now)."
|
||||
${RM} -f \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
|
||||
${CP} lmfjyh.c \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
|
||||
${CC} ${CFLAGS} \
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
|
||||
make all
|
||||
|
||||
NOTE: This entry might not compile when using modern compilers.
|
||||
NOTE: This entry will not compile on modern systems because it
|
||||
relies on a compiler bug which was fixed in gcc 2.3.3 (a very
|
||||
long time ago now).
|
||||
|
||||
### To run
|
||||
|
||||
@@ -17,13 +19,10 @@
|
||||
|
||||
## Judges' comments
|
||||
|
||||
See the makefile for details.
|
||||
See the Makefile for details.
|
||||
|
||||
There's more than one way to get around disk quotas. :-)
|
||||
There's more than one way to get around disk quotas. :-)
|
||||
|
||||
This entry will not compile on modern systems because it
|
||||
relies on a compiler bug which was fixed in gcc 2.3.3 (a very
|
||||
long time ago now).
|
||||
|
||||
## Author's comments
|
||||
|
||||
|
||||
+11
-12
@@ -10,7 +10,12 @@
|
||||
|
||||
make all
|
||||
|
||||
NOTE: This entry might not compile when using modern compilers.
|
||||
NOTE: we could not compile this entry under modern macOS but it will work
|
||||
fine under linux. It likely fails to compile under macOS because its gcc is
|
||||
actually just clang which is more strict about the type of the third
|
||||
argument of main(). If you have gcc under macOS it might work just as well.
|
||||
We did not test other systems.
|
||||
|
||||
|
||||
### To run
|
||||
|
||||
@@ -21,7 +26,7 @@
|
||||
|
||||
## Judges' comments
|
||||
|
||||
The octal expression may contain:
|
||||
The octal expression may contain:
|
||||
|
||||
unary operators: +, -
|
||||
binary operators +, -, *, /, %
|
||||
@@ -30,17 +35,11 @@
|
||||
octal numbers: octal digits
|
||||
grouping: ()
|
||||
|
||||
No spaces are allowed in the expression. To avoid shell expansion,
|
||||
one should surround the expression in single quotes.
|
||||
No spaces are allowed in the expression. To avoid shell expansion,
|
||||
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. :-)
|
||||
|
||||
NOTE: we could not compile this entry under modern macOS but it will work
|
||||
fine under linux. It likely fails to compile under macOS because its gcc is
|
||||
actually just clang which is more strict about the type of the third
|
||||
argument of main(). If you have gcc under macOS it might work just as well.
|
||||
We did not test other systems.
|
||||
It is a good thing that this program consists of only one
|
||||
expression, otherwise it might become hard to understand. :-)
|
||||
|
||||
## Author's comments
|
||||
|
||||
|
||||
Reference in new issue
Block a user