Timeline for Am I an insignificant array?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 21, 2017 at 8:11 | comment | added | user2390246 |
@flodel There was some recent discussion regarding the need to explicitly print the output when using scan , but it still saves a byte!
|
|
Sep 21, 2017 at 8:05 | comment | added | user2390246 | @BLT good point! | |
Sep 21, 2017 at 8:05 | history | edited | user2390246 | CC BY-SA 3.0 |
added 3 characters in body
|
Sep 21, 2017 at 1:51 | comment | added | flodel |
you could take the input from the console: all(diff(scan())^2<2)
|
|
Sep 20, 2017 at 18:34 | comment | added | BLT |
I think function(a)all(diff(a)^2<2) saves 3 bytes.
|
|
Sep 20, 2017 at 16:42 | history | answered | user2390246 | CC BY-SA 3.0 |