Timeline for Write Moby Dick, approximately
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 15, 2018 at 13:53 | history | edited | user77406 | CC BY-SA 3.0 |
-27000 points
|
Jan 10, 2018 at 18:32 | comment | added | user77406 | @AdamDavis It's beautiful. | |
Jan 10, 2018 at 16:10 | comment | added | Maya | @AdamDavis woah, it's not UB? TIL! | |
Jan 10, 2018 at 16:03 | comment | added | Adam Davis | @NieDzejkob Ah, you're right, thanks! "ANSI-C requires that all uninitialized static/global variables have to be initialized with 0." | |
Jan 10, 2018 at 16:02 | comment | added | Maya | @AdamDavis on most implementations of C, all global variables start at zero. It's undefined behavior, so it's only used in code-golf. | |
S Jan 10, 2018 at 15:57 | history | suggested | Adam Davis | CC BY-SA 3.0 |
Added a version that is more easily understood
|
Jan 10, 2018 at 15:49 | comment | added | Adam Davis | @Rogem I've added a de-golfed version (which I did because I couldn't follow it either) - hopefully this doesn't bother you but please roll back if desired. | |
Jan 10, 2018 at 15:48 | review | Suggested edits | |||
S Jan 10, 2018 at 15:57 | |||||
Jan 10, 2018 at 9:06 | history | edited | user77406 | CC BY-SA 3.0 |
added explanation
|
Jan 10, 2018 at 8:49 | comment | added | user77406 | Let me edit the answer with an explanation, then :) | |
Jan 10, 2018 at 8:33 | comment | added | user202729 | ... TIO link is useless. So the function returns the value of the last assignment? | |
Jan 9, 2018 at 17:33 | history | answered | user77406 | CC BY-SA 3.0 |