Timeline for Ninja Assassins - which ninja stays alive?
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | Community Bot |
Commonmark migration
|
|
| Jun 26, 2016 at 1:33 | comment | added | Geobits | Yeah, I use Java 7 for golfing just to avoid shady (imo) lambda nonsense :P | |
| Jun 26, 2016 at 1:33 | history | edited | Geobits | CC BY-SA 3.0 |
Algorithm change! Thanks Leaky.
|
| Jun 26, 2016 at 1:31 | comment | added | Geobits |
Dammit, I was doing highestOneBit manually and got it to 56 just now. I didn't know there was a built-in for it :/
|
|
| Jun 26, 2016 at 1:30 | comment | added | Leaky Nun |
int f(int n){return(n-Integer.highestOneBit(n))*2+1;}
|
|
| Jun 26, 2016 at 1:20 | comment | added | Geobits | Spare parens ftw >_> | |
| Jun 26, 2016 at 1:20 | history | edited | Geobits | CC BY-SA 3.0 |
oops, how'd those () get left in there >_> Thanks Nun
|
| Jun 26, 2016 at 1:19 | comment | added | Leaky Nun |
i&i-1 saves 2 bytes
|
|
| Jun 26, 2016 at 1:17 | history | edited | Geobits | CC BY-SA 3.0 |
golfed one :)
|
| Jun 26, 2016 at 1:04 | history | answered | Geobits | CC BY-SA 3.0 |