improve bugs remarks for 2000/primenum
This commit is contained in:
1 parent
b0698783cf
commit
0abeb11530
2 files changed
+9
-10
No files matched your search
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Raymond Cheong
|
Raymond Cheong
|
||||||
|
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -29,13 +30,6 @@ echo n | ./primenum n
|
|||||||
|
|
||||||
NOTE: `n` is an integer.
|
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:
|
## Try:
|
||||||
|
|
||||||
@@ -43,6 +37,7 @@ A crash in the program is known as well. This is also a feature.
|
|||||||
echo IOCCC 23209 | ./primenum 23209
|
echo IOCCC 23209 | ./primenum 23209
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
Don't read the author remarks until you're ready for the spoiler.
|
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
|
This entry won, not because the obfuscation is impenetrable, but because
|
||||||
it successfully fooled half of the judges, including me.
|
it successfully fooled half of the judges, including me.
|
||||||
|
|
||||||
|
|
||||||
## Author's remarks:
|
## Author's remarks:
|
||||||
|
|
||||||
### Description
|
### Description
|
||||||
|
|||||||
@@ -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
|
will seemingly wait for input exactly because it is waiting for input. See the
|
||||||
README.md file or look at the source.
|
README.md file or look at the source.
|
||||||
|
|
||||||
It also has main() return void even though this is non-standard. Please do not
|
Although the name of the program suggests it prints prime numbers
|
||||||
fix this (in fact it was originally done but rolled back).
|
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
|
## 2000 rince
|
||||||
|
|||||||
Reference in new issue
Block a user