Timeline for Boo! A Halloween Code Golf Challenge
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 13, 2015 at 15:37 | comment | added | Martin Ender | Let us continue this discussion in chat. | |
Dec 13, 2015 at 15:34 | comment | added | username.ak | In some implementations, linefeeds can be put as part of one input | |
Dec 13, 2015 at 15:31 | comment | added | Martin Ender |
Wait, actually that doesn't solve the problem. I means that BOO could be placed after the linefeed which is yet another character too far away.
|
|
Dec 13, 2015 at 15:30 | comment | added | Martin Ender |
Oh okay, then you should specify that your code expects the input to have a trailing linefeed (because it doesn't necessarily have one, in which case q and l are synonymous).
|
|
Dec 13, 2015 at 15:23 | comment | added | username.ak | I use q (reads all input, including newline), he uses l (reads only 1 line) | |
Dec 13, 2015 at 12:00 | comment | added | Martin Ender |
Now it can put BOO at the end of the string, You'd also need a ( before mr . But then it's identical to this answer: codegolf.stackexchange.com/a/62355/8478
|
|
Dec 13, 2015 at 12:00 | history | edited | username.ak | CC BY-SA 3.0 |
edited body
|
Dec 13, 2015 at 11:59 | comment | added | username.ak | Then it must be ) | |
Dec 13, 2015 at 11:40 | comment | added | Martin Ender |
This will fail when mr returns 0 or 1 , because neither -1 nor 0 are valid for splitting a string with / .
|
|
S Dec 13, 2015 at 10:45 | review | Low quality posts | |||
Dec 13, 2015 at 13:11 | |||||
S Dec 13, 2015 at 10:45 | review | Late answers | |||
Dec 13, 2015 at 11:40 | |||||
Dec 13, 2015 at 10:26 | history | answered | username.ak | CC BY-SA 3.0 |