improve bugs remarks for 2000/primenum

This commit is contained in:
Landon Curt Noll committed 2023-10-31 18:32:42 -07:00
1 parent b0698783cf
commit 0abeb11530
2 files changed
+9 -10

No files matched your search

+3 -7
View File
@@ -2,6 +2,7 @@
Raymond Cheong
## To build:
```sh
@@ -29,13 +30,6 @@ echo n | ./primenum n
NOTE: `n` is an integer.
### INABIAF - it's not a bug it's a feature! :-)
Although the name of the program suggests it prints prime numbers this is not
the case. This is by design. See the author's comments for more details or
better yet look at the code and if necessary try it out.
A crash in the program is known as well. This is also a feature.
## Try:
@@ -43,6 +37,7 @@ A crash in the program is known as well. This is also a feature.
echo IOCCC 23209 | ./primenum 23209
```
## Judges' remarks:
Don't read the author remarks until you're ready for the spoiler.
@@ -52,6 +47,7 @@ out what it does, run it. It may surprise you.
This entry won, not because the obfuscation is impenetrable, but because
it successfully fooled half of the judges, including me.
## Author's remarks:
### Description
+6 -3
View File
@@ -1130,10 +1130,13 @@ This program does not do what you might think it does! Running it like:
will seemingly wait for input exactly because it is waiting for input. See the
README.md file or look at the source.
It also has main() return void even though this is non-standard. Please do not
fix this (in fact it was originally done but rolled back).
Although the name of the program suggests it prints prime numbers
this is not the case. This is by design. See the author's comments
for more details or better yet look at the code and if necessary
try it out. Please do not try and fix this.
As well there is a known crash that's also a feature.
A crash in the program is known as well. This is also a feature.
Please do not try to fix the crashing of this code.
## 2000 rince