Add 2000/primenum/try.sh + format/typo checks

This commit is contained in:
Cody Boone Ferguson committed 2023-11-14 10:10:44 -08:00
1 parent 4cb76ef506
commit eb1bed18bb
3 files changed
+40 -3

No files matched your search

+4 -3
View File
@@ -29,7 +29,7 @@ NOTE: `n` is an integer.
### Try:
```sh
echo IOCCC 23209 | ./primenum 23209
./try.sh
```
@@ -45,6 +45,7 @@ it successfully fooled half of the judges, including me.
## Author's remarks:
### Description
For 15 years, IOCCC winners have obfuscated programs using esoteric,
@@ -61,8 +62,8 @@ syntax "mistakes" (e.g. `LessThanOrEqualTo`) and blatant "errors" (e.g.
`Zero`). This program clearly requires "debugging."
As a result of these "bugs", the program does not calculate primes at all.
Instead, the program reads input from stdin and returns garbled text on
stdout. Fortunately, you can recover the original message simply by
Instead, the program reads input from `stdin` and returns garbled text on
`stdout`. Fortunately, you can recover the original message simply by
running the program a second time. Try:
```sh