fix standard headers and header spacing in winner README.md files

This commit is contained in:
Landon Curt Noll committed 2023-11-02 15:45:36 -07:00
1 parent 50837e452e
commit fbd20cfdc2
319 files changed
+1601 -382

No files matched your search

+5 -1
View File
@@ -6,6 +6,7 @@ Israel
Doron Osovlanski\
Israel
## To build:
```sh
@@ -14,6 +15,7 @@ make all
There is [alternate code](#alternate-code) for those using Turbo-C or MSC.
## To use:
```sh
@@ -21,7 +23,8 @@ echo 4 | ./baruch
echo 7 | ./baruch
```
## Try:
### Try:
```sh
echo 2 | ./baruch
@@ -93,6 +96,7 @@ In order to compile the program under Turbo-C or MSC, `int ` should be inserted
at the beginning of the program. For better looking results it is recommended
to replace the `" #Q"` string with `" \261\2"`.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+5 -2
View File
@@ -3,12 +3,14 @@
Chris Mills\
US
## To build:
```sh
make all
```
## To use:
```sh
@@ -16,7 +18,7 @@ make all
```
## Try:
### Try:
```sh
./cmills 5000
@@ -25,7 +27,6 @@ make all
## Judges' remarks:
The Makefile uses several `-D` defines. The following is is a list of the macros
that may be changed:
@@ -40,6 +41,7 @@ but do you know why? This is not so strange as it might seem if you look at [C's
history](https://www.bell-labs.com/usr/dmr/www/chist.html). Example code where
this occurs is in John Lions' Commentary on the Sixth Edition UNIX Operating System.
## Author's remarks:
This is a blackjack program. It does splits, doubling down, insurance, etc.
@@ -53,6 +55,7 @@ the program, hit `EOF` or type `0` or a negative number for you wager.
The way it deals with splits is particularly cool (IMHO). You can split many
times, and it will show all hands as they are played.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+5 -1
View File
@@ -5,6 +5,7 @@ Greece\
<https://www.spinellis.gr/>\
Mastodon: <https://mstdn.social/@DSpinellis>
## To build:
```sh
@@ -18,7 +19,8 @@ make all
./dds
```
## Try:
### Try:
Give the following lines as input:
@@ -31,6 +33,7 @@ NOTE: this entry is probably one of the only times CAPS LOCK might be worth
having (though still not useful enough to enable :-) ) as all input has to be
UPPER CASE.
## Judges' remarks:
Be sure not to run out of fuel!
@@ -123,6 +126,7 @@ lines. In its present 1536 character form the program is reasonably portable
(it may fail to run in a tagged object architecture) and nicely formatted (it
fits in an `80*25` screen).
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+5 -1
View File
@@ -6,6 +6,7 @@ anonymous organization\
Newton, MA 02159\
US
## To build:
```sh
@@ -19,12 +20,14 @@ make all
echo foo bar | ./dg
```
## Try:
### Try:
```sh
echo "to C or not to C" | ./dg
```
## Judges' remarks:
Some C preprocessors got confused about single quotes in certain cases.
@@ -69,6 +72,7 @@ with:
If `index(3)` says the char is in the alphabet, then XOR the offset
with `16` to translate, and output, otherwise pass it unchanged.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+5 -3
View File
@@ -9,6 +9,7 @@ US
Paul Eggert\
US
## To build:
```sh
@@ -16,7 +17,7 @@ make all
```
### Bugs and (Mis)features
### Bugs and (Mis)features:
The current status of this entry is:
@@ -27,7 +28,7 @@ STATUS: known bug - please help us fix
For more detailed information see [1990 jaw in bugs.md](/bugs.md#1990-jaw).
## Try:
### Try:
To test the official C entry, one might try:
@@ -45,8 +46,8 @@ Also try:
./try.sh
```
## Judges' remarks:
## Judges' remarks:
The program, in its base form, implements two useful utilities:
@@ -233,6 +234,7 @@ To which we add:
- June 1990: 'shark' wins the IOCCC, finally! :-)
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+4
View File
@@ -8,18 +8,21 @@ Farnborough\
Hants GU14 7PL\
England, U.K.
## To build:
```sh
make all
```
## To use:
```sh
./pjr
```
## Judges' remarks:
This program prints out a string. Can you figure out how
@@ -72,6 +75,7 @@ Rot13:
in the original program! I leave it as an intellectual exercise
to the reader to find out what it is.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+6 -1
View File
@@ -5,12 +5,14 @@ Norwegian Institute of Technology\
N-7034 Trondheim-NTH\
Norway
## To build:
```sh
make all
```
## To use:
```sh
@@ -23,7 +25,8 @@ NOTE: that's not a typo or mistake but one can also do:
./o
```
## Judges' remarks
## Judges' remarks:
We changed the alias that the author's suggested alias from a
C-shell alias to a zsh alias.
@@ -34,6 +37,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 remarks:
If you like shell programming you may also admire my creative quoting. (I use
@@ -51,6 +55,7 @@ whether your compiler supports nested comments. I've stolen the `"/*/*/0*/**/1"`
from somewhere so don't give me any points for it. Of course neither ANSI nor
K&R support nested comments when properly implemented, but what the heck.
## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
+3 -1
View File
@@ -13,6 +13,7 @@ US
make all
```
## To use:
```sh
@@ -27,7 +28,7 @@ or ctrl-c (or kill it from another terminal :-) ). But why does it not work with
just `exit` or `logout`? Hint: see the authors' remarks.
## Try:
### Try:
```sh
./tbr
@@ -47,6 +48,7 @@ What happens if you try using `cd -` to return to previous directory? What about
The authors include a section called [BUGS](#bugs) that, because they were
documented, are not considered bugs as such in the context of the contest.
## Judges' remarks:
This program touches on a well known Unix utility, the 6th edition Bourne Shell
+3 -2
View File
@@ -14,7 +14,7 @@ make all
```
### Bugs and (Mis)features
### Bugs and (Mis)features:
The current status of this entry is:
@@ -41,7 +41,8 @@ h - step size
y1 - initial value (y(x1) == y1)
```
## Try:
### Try:
```sh
./theorem y 0 1 0.1 1
+2 -1
View File
@@ -23,7 +23,8 @@ make all
The number should be greater than 0.
## Try:
### Try:
```sh
./westley 1