Timeline for Find the center
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | Community Bot |
Commonmark migration
|
|
| Nov 25, 2015 at 2:44 | history | edited | jado | CC BY-SA 3.0 |
deleted 296 characters in body
|
| Nov 25, 2015 at 2:40 | comment | added | user45941 |
This, however, does work. If I had noticed that I screwed up the implementation of the median function before this challenge was posted, this would also work. ,║ is now valid as well, because I extended median to work with strings.
|
|
| Nov 25, 2015 at 2:16 | comment | added | user45941 | The code you have also doesn't work for odd-length strings. | |
| Nov 24, 2015 at 20:05 | comment | added | user45941 |
@phase It calls the `` (terminate program function) if the length is falsely, or tries (and fails) to call the string input.
|
|
| Nov 24, 2015 at 19:56 | comment | added | jado |
@Mego What is the ƒ supposed to do?
|
|
| Nov 24, 2015 at 19:42 | comment | added | user45941 | @phase You gotta quote strings for input. This works. | |
| Nov 24, 2015 at 19:36 | comment | added | jado | @Mego This doesn't seem to be working. | |
| Nov 24, 2015 at 15:46 | comment | added | user45941 |
,;``@(lIƒ will leave you with the input value on the stack if its len is > 0, or terminate the program otherwise. Note that there's an unprintable in the backticks - character 127.
|
|
| Nov 24, 2015 at 5:25 | comment | added | lirtosiast | This fails for empty input. I have a deleted 20-byte solution which I'm also trying to fix for empty input. | |
| Nov 24, 2015 at 5:10 | history | edited | jado | CC BY-SA 3.0 |
kinda explanation
|
| Nov 24, 2015 at 5:04 | history | answered | jado | CC BY-SA 3.0 |