Timeline for Create a binary wall
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 24, 2017 at 19:48 | comment | added | daniero | @AlexisAndersen thanks :) | |
Jul 24, 2017 at 19:47 | history | edited | daniero | CC BY-SA 3.0 |
-4 bytes
|
Jul 24, 2017 at 17:51 | comment | added | Alexis Andersen |
you don't need the 0 in the string format. you could shave a byte by replacing n.max.to_s(2).size with ('%b'%n.max).size and you don't actually need to replace the 1 with *
|
|
Jul 24, 2017 at 11:37 | history | answered | daniero | CC BY-SA 3.0 |