Move 1988-2004 entries into subdirs
We we move 1988-2004 entries from all of a year's winning entries in a single directory to each winner being in their own sub-directory under the given year directory.
This commit is contained in:
1 parent
1e82e8aa3e
commit
d2a42f42e8
478 files changed
No files matched your search
@@ -0,0 +1,3 @@
|
||||
#include <stdio.h>
|
||||
int O,o,i;char*I="";main(l){O&=l&1?*I:~*I,*I++||(l=2*getchar(),i+=O>8
|
||||
?o:O?0:o+1,o=O>9,O=-1,I="t8B~pq`",l>0)?main(l/2):printf("%d\n",--i);}
|
||||
@@ -0,0 +1,49 @@
|
||||
Best Small Program:
|
||||
|
||||
Bas de Bakker
|
||||
Pica, Centre for Library Automation
|
||||
Statenweg 154 B (home address)
|
||||
3039 JN Rotterdam
|
||||
The Netherlands
|
||||
|
||||
|
||||
Judges' comments:
|
||||
|
||||
To build:
|
||||
|
||||
make bas2
|
||||
|
||||
To use:
|
||||
|
||||
./bas2 < bas2.c
|
||||
|
||||
Questions to ponder:
|
||||
|
||||
Can you determine the relationship between the input and the
|
||||
resulting numeric output?
|
||||
|
||||
The program was not designed to process files with a certain
|
||||
octet value, what value is that?
|
||||
|
||||
Hint and Extra Credit:
|
||||
|
||||
This entry points our a minor flaw in the IOCCC rules that has
|
||||
been around since 1992. It processes a certain octet value in
|
||||
a way that differs from a strict reading of one of the
|
||||
official IOCCC rules. What is the rule and what is the octet
|
||||
value?
|
||||
|
||||
|
||||
Selected Author's Comments:
|
||||
|
||||
The main obfuscation is the way characters are recognized, which is
|
||||
done by matching the bit patterns. Minor obfuscations are:
|
||||
|
||||
- Useless layout.
|
||||
|
||||
- Useless variable names.
|
||||
|
||||
- Recursive main() instead of 2 loops (over input characters and over
|
||||
bits in the character).
|
||||
|
||||
- ? and || instead of if statements.
|
||||
Reference in new issue
Block a user