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
@@ -2,19 +2,22 @@
|
||||
|
||||
Ondřej Adamovský <oa@cmail.cz>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog file.unl
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog spam.unl
|
||||
@@ -24,6 +27,7 @@ make
|
||||
./prog advent.unl
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Even after pre-processing and indenting, the C code of this entry
|
||||
@@ -39,6 +43,7 @@ bytes which crashed it:
|
||||
|
||||
Functional programming is not a panacea against core dumps, after all.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
**»A highly structured state state machine«**
|
||||
@@ -267,6 +272,7 @@ be applied.
|
||||
[8]: https://inazz.jp/unlambda/ "Online Unlambda interpreter"
|
||||
[9]: http://ioccc.org/2014/birken/hint.html "Best use of port 1701"
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -2,30 +2,35 @@
|
||||
|
||||
Dave Burton
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog < prog.c
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
echo "Do or do not. There is no try."
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
A tiny, but punctually correct way of POSIX counting for text files. This one
|
||||
line, one word, 127 character beauty continues to expand the number of classic
|
||||
unix utilities available as winning entries.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Synopsis:
|
||||
@@ -86,6 +91,7 @@ cc -Wall -Wextra -Weverything -pedantic -include stdio.h -o prog.clean prog.clea
|
||||
The flags are not supported. Although they could easily be added into `cow`.
|
||||
This exercise left to the reader.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -10,7 +10,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
### Bugs and (Mis)features
|
||||
### Bugs and (Mis)features:
|
||||
|
||||
The current status of this entry is:
|
||||
|
||||
@@ -28,7 +28,7 @@ For more detailed information see [2019 ciura in bugs.md](/bugs.md#2019-ciura).
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./getwords.sh en | grep .. | ./prog aeiouvwxyz
|
||||
|
||||
@@ -18,7 +18,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
dd bs=1024 count=2048 < /dev/zero | compress > ref.Z
|
||||
|
||||
@@ -18,7 +18,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
sha512sum prog.c || shasum -a 512 prog.c
|
||||
|
||||
@@ -2,19 +2,22 @@
|
||||
|
||||
Gil Dogon
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog < pattern.mc
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog < glider.mc
|
||||
@@ -28,6 +31,7 @@ make
|
||||
./prog < message.mc
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
[1991/davidguy](http://ioccc.org/years.html#1991_davidguy),
|
||||
@@ -50,6 +54,7 @@ We truly have not much more to add, except two things:
|
||||
|
||||
In the interest of saving lives, this entry was not fuzzed.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### What is it?
|
||||
@@ -237,6 +242,7 @@ hs0 << 8, hs1w8 = hs1 >> 8, hs1e8 = hs1 << 8, ts0 = hs0w8 ^ hs0e8, ts1 = (hs0w8
|
||||
This uses only 19 bitwise operations and six shifts to calculate the inner 6x6
|
||||
next generation bits of the input 8x8 !
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
Etienne Duble\
|
||||
<https://lig-membres.imag.fr/duble>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
@@ -10,7 +11,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
### Bugs and (Mis)features
|
||||
### Bugs and (Mis)features:
|
||||
|
||||
The current status of this entry is:
|
||||
|
||||
@@ -27,7 +28,8 @@ For more detailed information see [2019 duble in bugs.md](/bugs.md#2019-duble).
|
||||
./prog file
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog /tmp/drawing
|
||||
@@ -86,11 +88,13 @@ make alt
|
||||
|
||||
Use `prog.alt` as you would `prog` above.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
After starting the program, use the cursor keys, then try some modes, like `p`
|
||||
or `l` (they toggle).
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Introduction:
|
||||
@@ -223,6 +227,7 @@ and it works on macOS too!
|
||||
I must confess it was challenging to remain below the size limit with this little
|
||||
change.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -4,6 +4,7 @@ Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
@@ -11,7 +12,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
### Bugs and (Mis)features
|
||||
### Bugs and (Mis)features:
|
||||
|
||||
The current status of this entry is:
|
||||
|
||||
@@ -28,17 +29,20 @@ For more detailed information see [2019 endoh in bugs.md](/bugs.md#2019-endoh).
|
||||
./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
gdb ./prog || lldb ./prog
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
The purpose of this program is to crash. You'll want to have memorized `man 7
|
||||
ascii` when debugging it to reveal its purpose.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### backtrace quine:
|
||||
@@ -117,6 +121,7 @@ gdb -q -x prog.c ./prog | sed -n -r 's/#.*:([0-9]+)/\1/p' | awk '{printf "%c",$1
|
||||
diff prog.c prog2.c
|
||||
```
|
||||
|
||||
|
||||
## 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 @@
|
||||
|
||||
Edward Giles
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog infile.wav outfile.wav
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
play MonodyVocals.wav
|
||||
@@ -22,6 +25,7 @@ play MonodyVocals.wav
|
||||
play out.wav
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Do you need to pretend enjoying a more spacious living environment than you
|
||||
@@ -30,6 +34,7 @@ recording your outgoing voicemail message? Then don't waste another minute!
|
||||
Record yourself, send the audio file through this entry, and let your callers be
|
||||
surprised.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Description:
|
||||
@@ -227,6 +232,7 @@ A few other miscellaneous obfuscations have also been done:
|
||||
for(s=0;s<f[13];s++)`
|
||||
* The line that contains `printf("Hello, world!");` is mostly commented out.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -17,7 +17,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog < README.md
|
||||
|
||||
+7
-1
@@ -3,19 +3,22 @@
|
||||
Ben Lynn
|
||||
<https://crypto.stanford.edu/~blynn/>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
(./prog < fib.hs; cat prog.c) > fib.c
|
||||
@@ -23,10 +26,12 @@ cc fib.c -o fib
|
||||
./fib
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
A fully functional compiler. The example prints out the 30th Fibonacci number.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Remarks:
|
||||
@@ -290,6 +295,7 @@ strange-looking comment.
|
||||
[My website reveals how this compiler
|
||||
works](https://crypto.stanford.edu/~blynn/compiler/ioccc.html).
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -2,12 +2,14 @@
|
||||
|
||||
Christopher Mills
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -16,7 +18,8 @@ make cpclean
|
||||
./prog Shakespeare.txt
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
make test-64bit
|
||||
@@ -35,6 +38,7 @@ less Eugene_Onegin.output.txt
|
||||
However, as the binary model files used to produce the output are in an
|
||||
implementation-specific format, your mileage may vary.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Can a machine learn?
|
||||
@@ -46,6 +50,7 @@ guidelines for the IOCCC?
|
||||
|
||||
You decide. :-)
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Welcome to OMLET! 🍳:
|
||||
@@ -662,6 +667,7 @@ The list of hyperparameters follows:
|
||||
[43]: https://www.fast.ai/2018/07/02/adam-weight-decay/
|
||||
[44]: http://karpathy.github.io/2015/05/21/rnn-effectiveness/
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
Timo Poikola\
|
||||
<https://ig.fi/other/ioccc>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
@@ -10,7 +11,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
### Bugs and (Mis)features
|
||||
### Bugs and (Mis)features:
|
||||
|
||||
The current status of this entry is:
|
||||
|
||||
@@ -33,7 +34,8 @@ sleep 86400; make clobber prog
|
||||
./prog 512 ./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
If you don't have a few days, try:
|
||||
|
||||
@@ -50,6 +52,7 @@ TZ=UTC48 make clobber prog
|
||||
This program will not validate input so it might fail or get stuck if invoked
|
||||
erroneously.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Do you have the time to see what this program does? Think again, come back and
|
||||
@@ -63,6 +66,7 @@ The source code layout and some of the variable names honors the ski jumping
|
||||
accomplishments of [Matti
|
||||
Nykänen](https://en.wikipedia.org/wiki/Matti_Nyk%C3%A4nen).
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### How to build:
|
||||
@@ -239,6 +243,7 @@ with 224-[bit](https://en.wikipedia.org/wiki/Bit) output could take too much
|
||||
I would like to say _thanks_ to PSP, because there were not too many
|
||||
interruptions during the coding phase.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
+7
-1
@@ -3,12 +3,14 @@
|
||||
Don Yang\
|
||||
<http://uguu.org/>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -25,7 +27,8 @@ cat d
|
||||
cat a b c d | ./prog
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./prog prog.c a b c d e
|
||||
@@ -52,11 +55,13 @@ cat a b c d e | ./prog | diff - prog.c
|
||||
./prog violet.c | ruby violet.c
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Do you understand how this program works? You may have to go over and over the
|
||||
output again.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Summary:
|
||||
@@ -225,6 +230,7 @@ Violet is named after [Violet
|
||||
Evergarden](https://en.wikipedia.org/wiki/Violet_Evergarden) in the story with
|
||||
the same name, the character who is highly skilled in writing letters.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
Reference in new issue
Block a user