From 75037b7c6be4b0c6c5fbd95922f77212878ce9bc Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 12 Mar 2023 22:57:39 -0700 Subject: [PATCH] improve 2020 year README.md files Do not put author information into a code block. Made some of the common markdown more consistent. --- 2020/burton/README.md | 14 ++++++-------- 2020/carlini/README.md | 2 -- 2020/endoh1/README.md | 6 ++---- 2020/endoh2/README.md | 2 -- 2020/endoh3/README.md | 16 +++++++--------- 2020/ferguson1/README.md | 2 -- 2020/ferguson2/README.md | 2 -- 2020/giles/README.md | 2 -- 2020/kurdyukov1/README.md | 4 +--- 2020/kurdyukov2/README.md | 2 -- 2020/kurdyukov3/README.md | 4 +--- 2020/kurdyukov4/README.md | 4 +--- 2020/otterness/README.md | 2 -- 2020/tsoj/README.md | 2 -- 2020/yang/README.md | 8 ++++++-- 15 files changed, 24 insertions(+), 48 deletions(-) diff --git a/2020/burton/README.md b/2020/burton/README.md index 8dfd6cc82..3932eca43 100644 --- a/2020/burton/README.md +++ b/2020/burton/README.md @@ -1,18 +1,16 @@ # Best one-liner -``` Dave Burton Twitter: @lv2jmp -``` -## To build +## To build: ```sh make ``` -### To run +### To run: ```sh ./prog arg ... @@ -20,7 +18,7 @@ make NOTE: this entry will dump core if you do not specify an argument. -### Try +### Try: ```sh ./prog 128 @@ -37,7 +35,7 @@ NOTE: this entry will dump core if you do not specify an argument. ./prog 128 128 128 128 ``` -### Alternate code +### Alternate code: By default, this code compiles for Little Endian machines. To compile for a Big Engian machine use: @@ -48,7 +46,7 @@ make alt Use `prog_be` as you would `prog` above. -## Judges' comments +## Judges' comments: Can you determine why this shows strange output for `./prog 128 128` and `./prog 128 128 128 128` but not `./prog 128 128 128`? @@ -73,7 +71,7 @@ This code may be tested by: make test ``` -## Author's comments +## Author's comments: Invoke this with a single non-negative integer less than 256, and a useful transformation occurs. diff --git a/2020/carlini/README.md b/2020/carlini/README.md index e818d75ce..7493ea211 100644 --- a/2020/carlini/README.md +++ b/2020/carlini/README.md @@ -1,9 +1,7 @@ # Best of show - abuse of libc -``` Nicholas Carlini -``` ## To build: diff --git a/2020/endoh1/README.md b/2020/endoh1/README.md index 1285411b7..96a819e36 100644 --- a/2020/endoh1/README.md +++ b/2020/endoh1/README.md @@ -1,9 +1,7 @@ # Most explosive -``` Yusuke Endoh Twitter: @mametter -``` ## To build: @@ -30,7 +28,7 @@ make ./prog unwinnable.txt ``` -### Alternate code +### Alternate code: An alternate version of this entry, prog.alt.c, is provided. This alternate code lacks the additional rule to flag all unprobed cells. See the Author's comments for more details. @@ -42,7 +40,7 @@ make alt Use `prog.alt` as you would `prog` above. -## Judges' comments +## Judges' comments: When playing Minesweeper, a misclick might ruin a game, so why not leave the routine to the computer? This program automatically uncovers mines according to several rules, and leaves guessing (and applying diff --git a/2020/endoh2/README.md b/2020/endoh2/README.md index 401e90d77..28f0ff596 100644 --- a/2020/endoh2/README.md +++ b/2020/endoh2/README.md @@ -1,9 +1,7 @@ # Best perspective -``` Yusuke Endoh Twitter: @mametter -``` # To build: diff --git a/2020/endoh3/README.md b/2020/endoh3/README.md index 303bee27b..3bab9036d 100644 --- a/2020/endoh3/README.md +++ b/2020/endoh3/README.md @@ -1,9 +1,7 @@ # Most head-turning -``` Yusuke Endoh Twitter: @mametter -``` ## To build: @@ -17,6 +15,13 @@ make ./prog ``` +### Try: + +```sh +./run_clock +# And watch closely for 15-20 seconds +``` + ### Alternate code: An alternate version of this entry, `prog.alt.c`, is provided. This alternate code uses Unicode letters. @@ -29,13 +34,6 @@ make alt Use `prog.alt` as you would `prog` above. -### Try: - -```sh -./run_clock -# And watch closely for 15-20 seconds -``` - ## Judges' comments: You may be tempted to use a mirror. Resist the temptation! Try figuring out how the clock hands are drawn. diff --git a/2020/ferguson1/README.md b/2020/ferguson1/README.md index 2eb263ae9..37a19b0d8 100644 --- a/2020/ferguson1/README.md +++ b/2020/ferguson1/README.md @@ -1,10 +1,8 @@ # Don't tread on me award -``` Cody Boone Ferguson Twitter: @xexyl -``` ## To build: diff --git a/2020/ferguson2/README.md b/2020/ferguson2/README.md index 8bde9f5a5..60003b361 100644 --- a/2020/ferguson2/README.md +++ b/2020/ferguson2/README.md @@ -1,10 +1,8 @@ # Most enigmatic -``` Cody Boone Ferguson Twitter: @xexyl -``` ## To build: diff --git a/2020/giles/README.md b/2020/giles/README.md index 4d67c4ae7..23b70ab17 100644 --- a/2020/giles/README.md +++ b/2020/giles/README.md @@ -1,9 +1,7 @@ # Most phony -``` Edward Giles -``` ## To build: diff --git a/2020/kurdyukov1/README.md b/2020/kurdyukov1/README.md index 290e22267..4891dc396 100644 --- a/2020/kurdyukov1/README.md +++ b/2020/kurdyukov1/README.md @@ -1,10 +1,8 @@ # Best utility -``` Ilya Kurdyukov Twitter: @ilyakurdyukov -``` ## To build: @@ -40,7 +38,7 @@ make alt Use `prog.alt` as you would `prog` above. -### Selected Judges Remarks: +## Judges' comments: This hash of a C code makes a hash out of input. Do you understand how? diff --git a/2020/kurdyukov2/README.md b/2020/kurdyukov2/README.md index a97ba313b..5017a2cca 100644 --- a/2020/kurdyukov2/README.md +++ b/2020/kurdyukov2/README.md @@ -1,10 +1,8 @@ # Least detailed -``` Ilya Kurdyukov Twitter: @ilyakurdyukov -``` ## To build: diff --git a/2020/kurdyukov3/README.md b/2020/kurdyukov3/README.md index d32a5857d..2a9fabcca 100644 --- a/2020/kurdyukov3/README.md +++ b/2020/kurdyukov3/README.md @@ -1,10 +1,8 @@ # Bset slaml prragom -``` Ilya Kurdyukov Twitter: @ilyakurdyukov -``` ## To build: @@ -43,7 +41,7 @@ make alt Use `prog.alt` as you would `prog` above. -### Selected Judges Remarks: +## Judges' comments: It is interesting how well smeonoe can raed txet wtih lots of tyops in it. How well can you raed porg.c, C prgoarm that is in the shpae of an SD card (or diff --git a/2020/kurdyukov4/README.md b/2020/kurdyukov4/README.md index 7a8a56b7a..842ce3e54 100644 --- a/2020/kurdyukov4/README.md +++ b/2020/kurdyukov4/README.md @@ -1,10 +1,8 @@ # Best abuse of lámatyávë -``` Ilya Kurdyukov Twitter: @ilyakurdyukov -``` ## To build: @@ -34,7 +32,7 @@ make Too many identical strings if the context length is small. -- Author* -### Selected Judges Remarks: +## Judges' comments: We were able to write our own program performing the same trick using the (still non-standard, for some reason) library function `memmem`, diff --git a/2020/otterness/README.md b/2020/otterness/README.md index d7372ddb1..4053865e9 100644 --- a/2020/otterness/README.md +++ b/2020/otterness/README.md @@ -1,9 +1,7 @@ # Most percussive -``` Nathan Otterness -``` ## To build: diff --git a/2020/tsoj/README.md b/2020/tsoj/README.md index b64e518ef..c6f39a218 100644 --- a/2020/tsoj/README.md +++ b/2020/tsoj/README.md @@ -1,9 +1,7 @@ # Most misleading indentation -``` tsoj -``` ## To build: diff --git a/2020/yang/README.md b/2020/yang/README.md index 656171fe8..aaaf77906 100644 --- a/2020/yang/README.md +++ b/2020/yang/README.md @@ -1,9 +1,7 @@ # Best abuse of CPP -``` Don Yang -``` ## To build: @@ -13,6 +11,12 @@ make ### To run: +```sh +./prog [PIN] < input.txt > output.c +``` + +### Try: + ```sh echo "International Obfuscated C Code Contest 2020" | ./prog 23209 > code.c