This commit includes the two entries not already done (other changes besides a final typo and formatting pass) in 1984, anonymous and laman. This commit means that the entries of 1984 have each had their README.md file formatted and typo fixed one more time and this should be good for publication.
1.2 KiB
1.2 KiB
Third place
Mike Laman
To build:
make all
To run:
./laman <positive number>
INABIAF - it's not a bug it's a feature :-)
This entry will very likely crash or do something else if you run it without an arg. It likely won't do anything at all if the arg is not a positive number.
Try:
The program accepts ONE POSITIVE number. Seeing is believing, so try things like:
./laman 4
./laman 9
./laman 16
This code should run you in circles.
Judges' remarks:
Some new compilers dislike lines 6 and 10 of the source, so we changed them from:
;++f)a[ b<<5|c] =d++,b+ =e;for( f=0;f<O
<<5|c]^ =a[b<<5 |c]^=a[ (k-(b+1 ))<<5|c]
to:
;++f)a[ b<<5|c] =d++,b+= e;for( f=0;f<O
<<5|c]^= a[b<<5 |c]^=a[ (k-(b+1 ))<<5|c]
I hope you have a C beautifier!
Author's remarks:
No remarks were provided by the author.
Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. You are free to share and adapt this file under the terms of this license:
Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
For more information, see: https://creativecommons.org/licenses/by-sa/4.0/