Timeline for Check whether an integer is a power of 2 without using +,- operations
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 11, 2017 at 19:06 | review | Low quality posts | |||
| Feb 11, 2017 at 20:08 | |||||
| Feb 9, 2017 at 3:44 | history | edited | DVK | CC BY-SA 3.0 | fixed quotes, since 1 liners typically are single-quotes in shell |
| Jan 4, 2014 at 23:47 | comment | added | tobyink | I suppose ++ might count as addition. This is the same length: $_=<>;chomp;$s=1;($s*=2)==$_&&($r=Yes)while$s<$_;say$r||No | |
| Jan 4, 2014 at 23:39 | comment | added | tobyink | 58: $_=<>;chomp;++$s;($s*=2)==$_&&($r=Yes)while$s<$_;say$r||No | |
| S Jan 4, 2014 at 23:25 | review | Low quality posts | |||
| Jan 5, 2014 at 0:07 | |||||
| S Jan 4, 2014 at 23:25 | review | First posts | |||
| Jan 4, 2014 at 23:37 | |||||
| Jan 4, 2014 at 23:06 | history | answered | DVK | CC BY-SA 3.0 |