Timeline for Calculate the sum of ILD
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 10, 2016 at 7:53 | history | edited | seshoumara | CC BY-SA 3.0 | minor formatting changes |
| Sep 26, 2016 at 17:20 | comment | added | seshoumara | @DigitalTrauma Well, yes (but code size won't change) and no (if sed is left as is). The reason is that a backslash will be treated differently when using a command substitution with backticks compared to $(). There are two alternative ways to do it with backticks, but both give a 36 bytes solution in the end: sed 's:\B:+:g'<<<0$1 and sed s:\\\B:+:g<<<0$1. | |
| Sep 26, 2016 at 6:48 | comment | added | seshoumara | @DigitalTrauma that won't work for negative integers. | |
| Sep 23, 2016 at 7:04 | history | edited | seshoumara | CC BY-SA 3.0 | better explanation |
| Sep 20, 2016 at 10:03 | history | answered | seshoumara | CC BY-SA 3.0 |