improve how README.md talks about Alternate code

Added a "Alternate code" section after the "To run" section
and before the "Judges' comments" section.
This commit is contained in:
Landon Curt Noll committed 2023-03-07 17:18:58 -08:00
1 parent ab391454b1
commit 8f3822534c
3 files changed
+29 -20

No files matched your search

+11 -9
View File
@@ -21,6 +21,17 @@ Twitter: @mciura
./ru.sh
### Alternate code
There is an alternate version of this code that flushes stdout after writing a newline.
See the Author's comments for more information.
To compile this alternate version:
make alt
Use `prog.alt` as you would `prog` above.
### Selected Judges Remarks:
A few letters, one at a time, with no repeats.
@@ -33,15 +44,6 @@ It is better that Mr Jock, TV quiz PhD, bags few lynx.
Speaking of jumping, can you rewrite the code to
remote all of the goto jumps in this code?
There is an alternate version of this code that flushes stdout after writing a newline.
See the Author's comments for more information.
To compile this alternate version:
make alt
Use `prog.alt` as you would `prog` above.
## Author's comments:
### What is this? <a name="wit"></a>
+10 -6
View File
@@ -18,18 +18,22 @@ Twitter: @ilyakurdyukov
./prog < prog.x86_64.asm
### Alternate code
An even smaller alternate version of this entry, prog.alt.c, is provided. This code does not contain any headers, nor any workaround for WIN32 based platforms.
To compile this alternate version:
make alt
Use `prog.alt` as you would `prog` above.
### Selected Judges Remarks:
This hash of a C code makes a hash out of input.
Do you understand how?
You should get a-round-to-it figuring it out!
An even smaller alternate version of this entry, prog.alt.c, is provided. This code does not contain any headers, nor any workaround for WIN32 based platforms. To compile this alternate version:
make alt
Use `prog.alt` as you would `prog` above.
## Author's comments:
### MD5 with integers
+8 -5
View File
@@ -28,19 +28,22 @@ The code for this entry can be found in prog.c
# try reading this other output
./prog < input.txt
### Selected Judges Remarks:
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
is it a pnuch crad)?
### Alternate code
There is an alternate version of this code in `prog.alt.c` where the main code is a macro.
To compile this alternate version:
make alt
Use `prog.alt` as you would `prog` above.
### Selected Judges Remarks:
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
is it a pnuch crad)?
## Author's comments:
### Letter Mixer ###