Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Self-Validating Triangular Checkerboard Program

Current License: CC BY-SA 3.0

13 events
when toggle format what by license comment
Mar 17, 2018 at 1:11 history edited user2956892 CC BY-SA 3.0
deleted 806 characters in body
Mar 17, 2018 at 0:17 comment added user2956892 @DomHastings Thanks for specifying that :-)
Mar 17, 2018 at 0:16 history edited user2956892 CC BY-SA 3.0
added 826 characters in body
Mar 16, 2018 at 21:17 comment added Dom Hastings Hey, I hope this doesn't mess with your code too much, but you can drop the leading newline validation.
Mar 16, 2018 at 19:22 comment added Emigna @MagicOctopusUrn: Not for any encoding I know.
Mar 16, 2018 at 18:42 comment added Emigna @MagicOctopusUrn: Depends on the code-page used. I would assume that both 05AB1E and unicode would be fine. Although if you use unicode you can't count all commands as 1 byte each. Both unicode and 05AB1E has 0 at 48 though.
Mar 16, 2018 at 18:33 history edited user2956892 CC BY-SA 3.0
Explanation added
Mar 16, 2018 at 18:23 comment added user2956892 @MagicOctopusUrn Your answer looks OK to me but I'm wondering about the input: are we allowed to take it as an array ? In your link, your first input is an empty space, not a newline char.
Mar 16, 2018 at 18:17 comment added Magic Octopus Urn I have no idea if this is correct (I am awful at reading specifications): Try it online!
Mar 16, 2018 at 17:50 history edited user2956892 CC BY-SA 3.0
added 128 characters in body
Mar 16, 2018 at 17:48 comment added Ton Hospel @Emigna I think your program has to be able to validate a leading newline only if it itself starts with a leading newline.
Mar 16, 2018 at 12:04 comment added Emigna Unless I've misunderstood the rules, the program needs to be able to validate input starting with a newline as well.
Mar 16, 2018 at 11:32 history answered user2956892 CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /