Add 2018/hou/try.sh + format/typo checks

This commit is contained in:
Cody Boone Ferguson committed 2023-12-11 09:38:46 -08:00
1 parent 1959925eda
commit 26c4717ad4
3 files changed
+47 -9

No files matched your search

+4 -9
View File
@@ -28,15 +28,10 @@ View `output.html` in a browser.
### Try:
```sh
grep -e '[-?+*/^&|.<>=]' prog.c
(cd ..; ls -lS */prog.c) | \
awk 'BEGIN { print "["; } { print "{\"winner\":\"",$9,"\", \"size\":",$5,"},"} END { print "]"}' \
> ioccc.json
./prog < ioccc.json > ioccc.html
./try.sh
```
View `output.html` in a browser.
As the script says, open `output.html` in a browser.
What's not right with the output? How can one fix it?
@@ -44,7 +39,7 @@ What's not right with the output? How can one fix it?
## Judges' remarks:
This entry exhibits a way of obfuscation we haven't seen before, we think.
The rulez of programming in an imperative language are violated, aren't they?
The `rulez` of programming in an imperative language are violated, aren't they?
Try figuring out how to increase the number of different colors, if you can.
@@ -58,7 +53,7 @@ to generate an HTML page from a JSON feed.
This entry takes such decadence to an extreme. It just calls a bunch of
libraries to generate an HTML page from a JSON feed, literally. There is no
variable (function parameters included), no operator, no flow control statements
except a few decorative returns. In compliance to production coding standards,
except a few decorative `return`s. In compliance to production coding standards,
the code is littered with fashionable jargon, doxygen comment, and license text.
As one would expect from such an approach, this program is much more resource