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:
1 parent
ab391454b1
commit
8f3822534c
3 files changed
+29
-20
No files matched your search
+11
-9
@@ -21,6 +21,17 @@ Twitter: @mciura
|
|||||||
|
|
||||||
./ru.sh
|
./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:
|
### Selected Judges Remarks:
|
||||||
|
|
||||||
A few letters, one at a time, with no repeats.
|
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
|
Speaking of jumping, can you rewrite the code to
|
||||||
remote all of the goto jumps in this code?
|
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:
|
## Author's comments:
|
||||||
### What is this? <a name="wit"></a>
|
### What is this? <a name="wit"></a>
|
||||||
|
|
||||||
|
|||||||
@@ -18,18 +18,22 @@ Twitter: @ilyakurdyukov
|
|||||||
|
|
||||||
./prog < prog.x86_64.asm
|
./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:
|
### Selected Judges Remarks:
|
||||||
|
|
||||||
This hash of a C code makes a hash out of input.
|
This hash of a C code makes a hash out of input.
|
||||||
Do you understand how?
|
Do you understand how?
|
||||||
You should get a-round-to-it figuring it out!
|
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:
|
## Author's comments:
|
||||||
|
|
||||||
### MD5 with integers
|
### MD5 with integers
|
||||||
|
|||||||
@@ -28,19 +28,22 @@ The code for this entry can be found in prog.c
|
|||||||
# try reading this other output
|
# try reading this other output
|
||||||
./prog < input.txt
|
./prog < input.txt
|
||||||
|
|
||||||
### Selected Judges Remarks:
|
### Alternate code
|
||||||
|
|
||||||
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)?
|
|
||||||
|
|
||||||
There is an alternate version of this code in `prog.alt.c` where the main code is a macro.
|
There is an alternate version of this code in `prog.alt.c` where the main code is a macro.
|
||||||
|
|
||||||
To compile this alternate version:
|
To compile this alternate version:
|
||||||
|
|
||||||
make alt
|
make alt
|
||||||
|
|
||||||
Use `prog.alt` as you would `prog` above.
|
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:
|
## Author's comments:
|
||||||
|
|
||||||
### Letter Mixer ###
|
### Letter Mixer ###
|
||||||
|
|||||||
Reference in new issue
Block a user