Merge pull request #790 from xexyl/1985-august
Format fixes to 1985/august/README.md
This commit is contained in:
1 file changed
+6
-6
@@ -22,7 +22,7 @@ make all
|
||||
```
|
||||
|
||||
If you have the `primes(6)` tool (sometimes part of BSD Games) you can see
|
||||
what of the output in the first N (say 15) lines are primes:
|
||||
what of the output in the first `N` (say `15`) lines are primes:
|
||||
|
||||
```sh
|
||||
while read -r n ; do primes "$n" $((n + 1)) ; done < <((./august | head -n 15 ))
|
||||
@@ -30,13 +30,13 @@ while read -r n ; do primes "$n" $((n + 1)) ; done < <((./august | head -n 15 ))
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
An interesting use of a recursive call to main. Compile and execute
|
||||
without args. What is the initial value of b, and does it alter the
|
||||
An interesting use of a recursive call to `main()`. Compile and execute
|
||||
without args. What is the initial value of `b`? Does it alter the
|
||||
action of the program?
|
||||
|
||||
If you let it, the program will continue to print a numerical sequence
|
||||
(can you guess in what base it is printed?) until you run out of
|
||||
memory or until they sell your computer, which ever comes first.
|
||||
If you let it, the program will continue to print a numerical sequence (can you
|
||||
guess in what base it is printed by looking at the code?) until you run out of
|
||||
memory or until they sell your computer, whichever comes first.
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
|
||||
Reference in new issue
Block a user