Timeline for The sum is always 15
Current License: CC BY-SA 4.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 16, 2021 at 22:21 | history | edited | csga5000 | CC BY-SA 4.0 |
added 58 characters in body
|
Jun 29, 2018 at 17:30 | history | edited | csga5000 | CC BY-SA 4.0 |
Updated explanation
|
Jun 29, 2016 at 16:29 | comment | added | RK. | Oh wait, never mind, it seems the explanation doesn't match the code... | |
Jun 29, 2016 at 16:28 | comment | added | RK. |
You should be able to replace FNQ with VQ .
|
|
Mar 12, 2016 at 10:27 | history | edited | csga5000 | CC BY-SA 3.0 |
deleted 1 character in body
|
Dec 11, 2015 at 8:57 | vote | accept | Stewie Griffin | ||
Dec 5, 2015 at 22:39 | comment | added | csga5000 | @isaacg How did I miss that? :) Thanks again, that makes our Pyth the shortest (though the previous competitor had a small logic flaw anyway). | |
Dec 5, 2015 at 22:37 | history | edited | csga5000 | CC BY-SA 3.0 |
Added note
|
Dec 4, 2015 at 22:49 | comment | added | isaacg |
You can save another 2 byte by replacing I>Z0 with IZ - Z can't be negative, so you're really just checking if Z is not zero, and zero is falsy, while all other numbers are truthy.
|
|
Dec 4, 2015 at 2:48 | comment | added | csga5000 | @isaacg Awesome, thanks for everything isaacg! | |
Dec 4, 2015 at 2:47 | history | edited | csga5000 | CC BY-SA 3.0 |
Adjusted explanation to match code
|
Dec 3, 2015 at 19:10 | comment | added | isaacg |
A couple of other suggestions: =Z+ZN and =+ZN are the same. It's a bit like Python's += . Likewiese, =Z-ZK -> =-ZK . Also, you don't need the ) at the end - it's filled in automatically. Finally, FNQ and VQ are the same.
|
|
Dec 3, 2015 at 19:08 | comment | added | isaacg | Fixing it as we speak. | |
Dec 3, 2015 at 19:07 | comment | added | csga5000 | @isaacg If you have anything to do with pyth.herokuapp.com you could update it's character reference as well. | |
Dec 3, 2015 at 19:06 | history | edited | csga5000 | CC BY-SA 3.0 |
Fixed my example thanks to the creator of pyth
|
Dec 3, 2015 at 19:04 | comment | added | csga5000 | @isaacg Thanks isaacg! I should have that working now. Though it only saves 1 byte since the else is 2 characters now. | |
Dec 3, 2015 at 7:07 | comment | added | isaacg |
Else was recently changed to be .? instead of E , but I forgot to update the docs. Sorry about that.
|
|
Dec 3, 2015 at 5:13 | history | edited | csga5000 | CC BY-SA 3.0 |
Updated the example that doesn't work.
|
Dec 3, 2015 at 3:09 | history | edited | csga5000 | CC BY-SA 3.0 |
Converted to my own method
|
Dec 3, 2015 at 1:55 | history | answered | csga5000 | CC BY-SA 3.0 |