Format and typo fix 1998/bas2/README.md

This commit is contained in:
Cody Boone Ferguson committed 2023-04-19 09:23:50 -07:00
1 parent ba5c485956
commit 9beb4f7ed6
1 file changed
+17 -13
+17 -13
View File
@@ -1,32 +1,36 @@
# Best Small Program
Bas de Bakker
Pica, Centre for Library Automation
Statenweg 154 B (home address)
3039 JN Rotterdam
The Netherlands
Bas de Bakker
Pica, Centre for Library Automation
Statenweg 154 B (home address)
3039 JN Rotterdam
The Netherlands
## To build:
make all
```sh
make all
```
## To run:
./bas2 < bas2.c
```sh
./bas2 < bas2.c
```
## Judges' remarks:
### Questions to ponder:
Can you determine the relationship between the input and the
resulting numeric output?
Can you determine the relationship between the input and the resulting numeric
output?
The program was not designed to process files with a certain
octet value, what value is that?
The program was not designed to process files with a certain octet value, what
value is that?
### Hint and Extra Credit:
This entry points our a minor flaw in the IOCCC rules that has
This entry points out a minor flaw in the IOCCC rules that has
been around since 1992. It processes a certain octet value in
a way that differs from a strict reading of one of the
official IOCCC rules. What is the rule and what is the octet
@@ -44,7 +48,7 @@ done by matching the bit patterns. Minor obfuscations are:
- Recursive main() instead of 2 loops (over input characters and over bits in
the character).
- ? and || instead of if statements.
- `?` and `||` instead of if statements.
## Copyright and CC BY-SA 4.0 License: