cleanup winner README.md files
Fixed cases where there was a bad trailing backslash. Improved a few cases where a code block was needed to highlight some text. Changed a few cases where a code block needed to declared as, say, a sh code block. Fixed a few cases where the winner information was not properly formatted. Plus a few nits and clarifying text was added.
This commit is contained in:
1 parent
394f710bc3
commit
360708f858
120 files changed
+1198
-1024
No files matched your search
+10
-8
@@ -38,14 +38,16 @@ From the San Jose Mercury News (May 15, 1993 page 20A "West Hackers\
|
||||
trounce East in computer quiz game"):
|
||||
|
||||
|
||||
> "Since 1984, a contest has been held on Usenet for the most
|
||||
> unreadable, creative, bizarre but working C program", Gates
|
||||
> said. "What is the name of this contest?"
|
||||
>
|
||||
> "Windows," shot back Gassee, naming Microsoft's premier product
|
||||
> - a product over which Apple sued Microsoft five years ago. Not
|
||||
> the right answer - it's "The Obfuscated C Contest [sic]" - but
|
||||
> it brought down the house of Apple partisans...
|
||||
```
|
||||
"Since 1984, a contest has been held on Usenet for the most
|
||||
unreadable, creative, bizarre but working C program", Gates
|
||||
said. "What is the name of this contest"
|
||||
|
||||
"Windows," shot back Gassee, naming Microsoft's premier product
|
||||
- a product over which Apple sued Microsoft five years ago. Not
|
||||
the right answer - it's "The Obfuscated C Contest [sic]" - but
|
||||
it brought down the house of Apple partisans...
|
||||
```
|
||||
|
||||
[The expression on Bill Gates' face was a sight to behold, as reported
|
||||
to us by several who were there].
|
||||
|
||||
@@ -22,7 +22,7 @@ make all
|
||||
```
|
||||
|
||||
where:
|
||||
\
|
||||
|
||||
`datafile` is the initial pattern (default: [dgibson.data1](dgibson.data1))
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -48,7 +48,7 @@ We note that this also works under macOS just fine.
|
||||
#### Output solution to Towers of Hanoi for five rings:
|
||||
|
||||
```sh
|
||||
./ejb 5\
|
||||
./ejb 5
|
||||
```
|
||||
|
||||
The format of the output for the Towers of Hanoi case is simply a
|
||||
@@ -57,7 +57,7 @@ text description of how to solve the puzzle.
|
||||
#### Output solution to the Patience puzzle for six rings:
|
||||
|
||||
```sh
|
||||
./ejb -6\
|
||||
./ejb -6
|
||||
```
|
||||
|
||||
|
||||
|
||||
+10
-11
@@ -35,7 +35,6 @@ where:
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
\
|
||||
By default, the number of colors is 6. You may specify a
|
||||
value of between 1 and 15 colors. See the author's notes
|
||||
for instructions of how to play.
|
||||
@@ -78,16 +77,16 @@ backspaces. Do "disable scrolling" on cmdtool or similar emulators.
|
||||
|
||||
```
|
||||
judges-385> ./leo
|
||||
(1296): 6433
|
||||
?? 12 # one 3 is a bull, another is a cow, and 4 is a cow
|
||||
(160): 5363
|
||||
?? 02 # both 3's are cows
|
||||
(21): 4231
|
||||
?? 22 # 2 and 3 are bulls, 4 and 1 are cows
|
||||
(2): 4132
|
||||
?? 13 # 3 is a bull; 1, 2 and 4 are cows
|
||||
(1): 1234
|
||||
?? 40 # you may enter everything there
|
||||
(1296): 6433
|
||||
?? 12 # one 3 is a bull, another is a cow, and 4 is a cow
|
||||
(160): 5363
|
||||
?? 02 # both 3's are cows
|
||||
(21): 4231
|
||||
?? 22 # 2 and 3 are bulls, 4 and 1 are cows
|
||||
(2): 4132
|
||||
?? 13 # 3 is a bull; 1, 2 and 4 are cows
|
||||
(1): 1234
|
||||
?? 40 # you may enter everything there
|
||||
```
|
||||
|
||||
##### EXAMPLE: Guess the computer's number
|
||||
|
||||
@@ -39,7 +39,6 @@ NOTE: an alternate version exists. See Alternate code section below.
|
||||
|
||||
To use:
|
||||
|
||||
|
||||
```sh
|
||||
make alt
|
||||
```
|
||||
|
||||
@@ -63,7 +63,7 @@ What is cat?
|
||||
|
||||
After this program prints the contents of 'file', ask it
|
||||
some questions related to the text.
|
||||
\
|
||||
|
||||
The author suggests the following questions when using
|
||||
[schnitzi.info](schnitzi.info):
|
||||
|
||||
|
||||
+1
-2
@@ -37,7 +37,6 @@ What happens if you use something other than valid digits?
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
\
|
||||
The octal expression may contain:
|
||||
|
||||
```
|
||||
@@ -93,7 +92,7 @@ what grammar non-terminal to parse. `**O7` is the next character.
|
||||
`O3` is an intermediate result. Whenever you see a construct like:
|
||||
|
||||
```
|
||||
!(expression with O2)?
|
||||
!(expression with O2)?
|
||||
```
|
||||
|
||||
it's decrementing & testing `O2` to see what state it's in. Comparisons
|
||||
|
||||
Reference in new issue
Block a user