fix Makefile, README.md and .gitignore for 2020/kurdyukov3

This commit is contained in:
Landon Curt Noll committed 2023-03-11 00:06:43 -08:00
1 parent 93a1ca052f
commit 39354fac88
3 files changed
+42 -28

No files matched your search

+24 -17
View File
@@ -1,32 +1,35 @@
# Bset slaml prragom
```
Ilya Kurdyukov
<https://github.com/ilyakurdyukov>
Twitter: @ilyakurdyukov
The code for this entry can be found in prog.c
## Judges' comments:
```
## To build:
make all
```sh
make
```
### To use:
### To run:
./prog
```sh
./prog
```
### Try:
# first input to try
echo first input to try | ./prog
```sh
# first input to try
echo first input to try | ./prog
# try reading this output
echo International Obfuscated C Code Contest | ./prog
# try reading this output
echo International Obfuscated C Code Contest | ./prog
# try reading this other output
./prog < input.txt
# try reading this other output
./prog < input.txt
```
### Alternate code
@@ -34,7 +37,9 @@ There is an alternate version of this code in `prog.alt.c` where the main code i
To compile this alternate version:
make alt
```sh
make alt
```
Use `prog.alt` as you would `prog` above.
@@ -50,14 +55,16 @@ is it a pnuch crad)?
Compile and try this:
```sh
cat input.txt | ./prog
```
The program can work with letters that are not represented in English, as long as these letters are encoded in the higher part of the single-byte character set (use `iconv` to convert from UTF-8 and back).
-----------------------------------------------------------------------------------------------------
## Copyright:
(c) Copyright 1984-2020, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/
-----------------------------------------------------------------------------------------------------