fix standard headers and header spacing in winner README.md files
This commit is contained in:
1 parent
50837e452e
commit
fbd20cfdc2
319 files changed
+1601
-382
No files matched your search
@@ -3,12 +3,14 @@
|
||||
Dave Burton <ioccc@snox.net>
|
||||
<http://snox.net/ioccc>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -23,7 +25,8 @@ or:
|
||||
|
||||
Type in expressions on standard input.
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog '?0x3343<<2'
|
||||
@@ -63,6 +66,7 @@ make alt
|
||||
|
||||
Use `prog.alt` as you would `prog` above.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
"Look, Ma, no ~~hands~~ digits!"
|
||||
@@ -73,6 +77,7 @@ modulo, are easy to find. Where are addition and subtraction?
|
||||
We were impressed with the level of detail the author "blogged" the obfuscation
|
||||
process.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### calc - an integer expression calculator that outputs in both hex and decimal
|
||||
@@ -224,6 +229,7 @@ PATH=. eprog < test.in | diff - test.out
|
||||
|
||||
If you do not want to puzzle out how it works, see [spoilers.md](spoilers.md).
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,19 +3,22 @@
|
||||
Gil Dogon\
|
||||
<http://sokoban-gild.com>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog
|
||||
@@ -47,6 +50,7 @@ etc.
|
||||
|
||||
Press the ESC key
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
You are in a twisty maze blocks, almost all alike.
|
||||
@@ -60,6 +64,7 @@ number function keys such as F30 or F31? :-)
|
||||
|
||||
*Textures? We don't need no stinking textures.*
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### What is it?
|
||||
@@ -188,6 +193,7 @@ adjusted simultaneously by the expression: `o=o*b>>8`. Of course some spare bits
|
||||
are needed between the components, so they are spread in the long long and
|
||||
reordered as RBG.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,19 +3,22 @@
|
||||
Etienne Duble <etienne.duble@imag.fr>\
|
||||
<http://lig-membres.imag.fr/duble>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
echo Some text | ./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
echo Hello, world | ./prog
|
||||
@@ -48,6 +51,7 @@ Beautiful penmanship! However, your fonts may vary.
|
||||
How does this entry compress the font it uses? What's the purpose of lrand48()?
|
||||
Why does the program dump core, when it does :) ?
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Introduction
|
||||
@@ -208,6 +212,7 @@ have to check whether their standard input is a terminal or not (by using
|
||||
`isatty()`). Did you notice that this program does not perform any such
|
||||
detection, but still behaves (or seems to behave) appropriately?
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -6,12 +6,14 @@ Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
Someone Anonymous
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -21,12 +23,13 @@ make
|
||||
Connect to port http://localhost:10333 with your browser.
|
||||
|
||||
|
||||
## Try:
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
echo "Do or do not. There is no try."
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
[How did the leopard get its
|
||||
@@ -38,6 +41,7 @@ Turing](https://en.wikipedia.org/wiki/Alan_Turing), there are some
|
||||
pointers to his features like eyes with "`stdeye-o`" and "`<--mouth`". Can you
|
||||
find any other tributes?
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
What does "[Alan Turing](https://en.wikipedia.org/wiki/Alan_Turing)" remind you
|
||||
@@ -216,6 +220,7 @@ field data to the browser on each frame.
|
||||
* [4] Eastlake 3rd, D. and P. Jones, "US Secure Hash Algorithm 1 (SHA1)", RFC 3174, DOI 10.17487/RFC3174, September 2001, <http://www.rfc-editor.org/info/rfc3174>.
|
||||
* [5] Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", RFC 4648, DOI 10.17487/RFC4648, October 2006, <http://www.rfc-editor.org/info/rfc4648>.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -4,19 +4,22 @@ Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
cat prog.c
|
||||
@@ -24,6 +27,7 @@ cat prog.c
|
||||
./prog | diff - prog.c
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
At this point you might be wondering, [WTF](http://acronyms.thefreedictionary.com/WTF)?\*
|
||||
@@ -47,6 +51,7 @@ Where did those underscores come from? Well [RTFS](http://acronyms.thefreedicti
|
||||
|
||||
If you are still puzzled, look at prog.c with your favorite text editor.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
**Follow this instruction literally!**
|
||||
@@ -64,6 +69,7 @@ Hint 2: Do `wc -c prog.c`. This is very long one-liner.
|
||||
|
||||
Spoiler: Open the source with an editor like `vim` or `emacs`.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -19,7 +19,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
### Try:
|
||||
|
||||
To see the original [mullender](mullender.c) in action:
|
||||
|
||||
@@ -59,6 +59,7 @@ instructions
|
||||
clue, see the end of the author's remarks.) If in doubt, use
|
||||
[APOUT](https://github.com/DoctorWkt/Apout).
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Hint / Compatibility
|
||||
@@ -238,6 +239,7 @@ short main[]={5568,1,-30460,12,2782,0,-29921,2056,-4864,6873,770,30054,11886,
|
||||
335,-27277,-30776,20480,0};
|
||||
```
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -4,19 +4,22 @@ Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog <a number of arguments>
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog @ @ @ @ @ @
|
||||
@@ -43,6 +46,7 @@ make alt
|
||||
|
||||
Use `prog.alt` as you would `prog` above.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
For this one liner it is best to avoid prime numbers. The output groups
|
||||
@@ -50,6 +54,7 @@ factors in the x-y dimensions. How many factors can be represented before you
|
||||
run out of command line argument space? How could you modify the program to
|
||||
experiment with numbers that have more or larger factors?
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
Visual factorization 1-liner. Try:
|
||||
@@ -70,6 +75,7 @@ Diagrams](http://www.datapointed.net/visualizations/math/factorization/animated-
|
||||
Dogon](/winners.html#Gil_Dogon) kindly improved it during the review. Thank
|
||||
you!
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
+7
-1
@@ -3,24 +3,28 @@
|
||||
Qiming Hou <hqm03ster@gmail.com>\
|
||||
<http://www.houqiming.net/>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
echo IOCCC | ./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
echo "" | ./prog
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
A good start for understanding this entry might be
|
||||
@@ -47,6 +51,7 @@ What happens with a large file? Something over 256K
|
||||
|
||||
Where does that message come from?
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
This looks like a normal C program.
|
||||
@@ -108,6 +113,7 @@ Tested platforms:
|
||||
* Windows 8.1, x86, MinGW gcc 4.6.2 (fails, prints error message)
|
||||
* Windows 8.1, x86, MinGW gcc 4.6.2 with -msse2 -mfpmath=sse (works)
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
+7
-1
@@ -4,12 +4,14 @@ Anthony Howe <achowe@snert.com>\
|
||||
Montreal, Quebec, Canada\
|
||||
<http://www.snert.com/>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -18,7 +20,8 @@ make
|
||||
./prog -d file1 file2
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog prog.alt.c prog.c
|
||||
@@ -57,6 +60,7 @@ make alt
|
||||
|
||||
Use `prog.alt` as you would `prog` above.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
This is the best use of the FNV that we have seen in the IOCCC so far!
|
||||
@@ -81,6 +85,7 @@ might be easier than the academic papers it was inspired by.
|
||||
NOTE: Unlike the original entry source, prog.alt.c, prog.c uses a
|
||||
64 bit FNV hash and fixes a function call warning.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Features
|
||||
@@ -171,6 +176,7 @@ Which hashing algorithm is best for uniqueness and speed?\
|
||||
|
||||
[HshCmp]: http://programmers.stackexchange.com/questions/49550/which-hashing-algorithm-is-best-for-uniqueness-and-speed
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -2,19 +2,22 @@
|
||||
|
||||
Chris Mills
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog
|
||||
@@ -22,6 +25,7 @@ make
|
||||
|
||||
Press the up arrow and the down arrow at the right time.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Did you find that mobile application game a bit frustrating?
|
||||
@@ -73,6 +77,7 @@ Enjoy!
|
||||
TAP!! TAP!! TAP!!
|
||||
FLAP! FLAP! FLAP!
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### The Program
|
||||
@@ -154,6 +159,7 @@ Future versions of the game will include monitization via the freemium model
|
||||
with micropayments for customization options, play-to-win and of course
|
||||
live-streamed targeted video advertising.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -2,19 +2,22 @@
|
||||
|
||||
Chris Mills
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog compressed_file.Z
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
printf '000I\236\f\31H\260\240\301\203' > ioccc.Z
|
||||
@@ -29,6 +32,7 @@ compress < test2 > test2.Z
|
||||
time ./prog test2.Z | cmp - test2
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Without ASCII art, the source code of this entry would have been exactly 256
|
||||
@@ -38,6 +42,7 @@ for a compress(1)-like compressor using a similar idea.
|
||||
|
||||
Why is the sad smiley on line 12 in that particular place?
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### The Program
|
||||
@@ -126,6 +131,7 @@ pass in an alternate universe where the vax on which `compress` was authored
|
||||
had been big-endian. Luckily for us, it wasn't, and neither are most of the
|
||||
systems you might want to compile this for.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
+7
-1
@@ -3,19 +3,22 @@
|
||||
Dominik Muth\
|
||||
<muth.ioccc@freenet.de>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
make -B [MACHINE=your_machine.h] [TAPE=your_tape.h] [X=[0|1|2|3|4|5|6|7|8|9]] [V=[0|1|2]] run
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
make -B V=2 run
|
||||
@@ -27,12 +30,14 @@ make -B MACHINE=machine_times2.h TAPE=tape_five.h V=1 run
|
||||
make -B MACHINE=machine_chaos_5_2.h X=5 run
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
This is something we were fearing all along: that the C preprocessor is Turing-complete
|
||||
even without conditionals and recursive file inclusion as some kind of a
|
||||
[rewriting system](https://en.wikipedia.org/wiki/Rewriting). Now we have the proof!
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Preprocessor Turing Engine
|
||||
@@ -107,6 +112,7 @@ To halt the machine, use the keyword "`break`" as in
|
||||
|
||||
#define A_1 (2, break)
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,12 +3,14 @@
|
||||
Jens Schweikhardt\
|
||||
<http://www.schweikhardt.net>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -17,12 +19,14 @@ make
|
||||
|
||||
where n is a base 16 number of any size.
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog 19
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
This code is clean. When you compile with all warnings enabled,
|
||||
@@ -77,6 +81,7 @@ build some very complex structures. :-)
|
||||
p.s. We appreciated that apart from a few powers of 2, the source
|
||||
code is magic number free.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### The TL;DR version
|
||||
@@ -781,6 +786,7 @@ memory resources with the ulimit(1) built-in of your shell.
|
||||
|
||||
For all intents and purposes, the *Not Overflowing Type* keeps the promise!
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ echo Some text | ./prog\
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
echo IOCCC 2015 | ./prog | tee output.c
|
||||
|
||||
Reference in new issue
Block a user