Rename hint.txt and hint.text to README.md
This commit is contained in:
1 parent
77fb0f11a2
commit
851e191519
166 files changed
No files matched your search
@@ -0,0 +1,67 @@
|
||||
# Best one liner
|
||||
|
||||
Taketo Konno
|
||||
Tokyo, Japan
|
||||
<inaniwa3@gmail.com>
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
### To build:
|
||||
|
||||
make konno
|
||||
|
||||
### To run:
|
||||
|
||||
./konno N
|
||||
# where N is 0 to 255
|
||||
|
||||
### Try:
|
||||
|
||||
./konno 30
|
||||
|
||||
### Selected Judges Remarks:
|
||||
|
||||
This entry is a good one-liner to analyze completely.
|
||||
|
||||
For extra credit, what are the minimal changes to convert it to
|
||||
64-bit integers so that it could print 32 lines?
|
||||
|
||||
## Author's comments:
|
||||
### Remarks
|
||||
|
||||
This program outputs [elementary cellular automaton](http://mathworld.wolfram.com/ElementaryCellularAutomaton.html) patterns.
|
||||
|
||||
Try:
|
||||
|
||||
./konno 30
|
||||
./konno 90
|
||||
./konno 102
|
||||
./konno 109
|
||||
./konno 165
|
||||
|
||||
There are 256 (from 0 to 255) possible rules.
|
||||
|
||||
### Obfuscation
|
||||
|
||||
This program uses bit operations. I think
|
||||
|
||||
7&O<<!o>>!o+29
|
||||
|
||||
is an intersting operation. This isn't equal to
|
||||
|
||||
7&O>>29
|
||||
|
||||
operation. What is the operation doing?
|
||||
|
||||
### Limitation
|
||||
|
||||
This program assumes that the size of int is 4.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
<!--
|
||||
(c) Copyright 1984-2015, [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/
|
||||
-->
|
||||
Reference in new issue
Block a user