Skip to main content
24 events
when toggle format what by license comment
Apr 3, 2014 at 22:30 comment added DavidC I first thought it should return {1,2,3,4,5,6} but then noticed that the challenge requires only one case to be returned. Good work.
Apr 3, 2014 at 22:15 comment added Martin Ender @DavidCarraher Yes, it does output 1 in my case. Or what do you mean?
Apr 3, 2014 at 22:05 comment added DavidC Much better. [As you may know, the second one could return any or all of {1,2,3,4,5,6}.]
Apr 3, 2014 at 21:51 comment added Martin Ender @DavidCarraher fixed it at the cost of four characters
Apr 3, 2014 at 21:51 history edited Martin Ender CC BY-SA 3.0
added 14 characters in body
Apr 3, 2014 at 21:44 comment added Martin Ender @DavidCarraher okay, the second and last two don't work, I'll look into that. but the first and third work as they should, I think?
Apr 3, 2014 at 20:27 comment added DavidC There are still some flaws in the code. Try these cases: {"abcc1ba", "aaaaaa", "abcde", "", "a"}
Apr 3, 2014 at 19:33 history edited Martin Ender CC BY-SA 3.0
deleted 1 characters in body
Apr 3, 2014 at 19:29 comment added Martin Ender @JanDvorak hmmm, what's a program in Mathematica?
Apr 3, 2014 at 19:26 comment added John Dvorak @m.buettner but, you were asked to write a program.
Apr 3, 2014 at 19:25 history edited Martin Ender CC BY-SA 3.0
added 5 characters in body
Apr 3, 2014 at 19:25 comment added Martin Ender @JanDvorak sorry, I interpreted I/O as function parameter and return value here. :-/
Apr 3, 2014 at 19:23 comment added John Dvorak Somehow this seems to be missing I/O
Apr 3, 2014 at 19:17 comment added User011001 @JanDvorak My main programming language is php I write all my programs in php.
Apr 3, 2014 at 19:17 comment added ɐɔıʇǝɥʇuʎs @Arm103 Understanding golfed PHP? That's quite a stretch ;)
Apr 3, 2014 at 19:16 comment added John Dvorak @Arm103 no. You can't ;-)
Apr 3, 2014 at 19:16 comment added User011001 @Jan Dvorak Nope just a question I have but My main programming language is php so I can acctually understand it then
Apr 3, 2014 at 19:15 comment added John Dvorak @ChrisJester-Young I'm afraid there are :-/
Apr 3, 2014 at 19:15 comment added C. K. Young @JanDvorak There are CS courses that use PHP? That would be scary.
Apr 3, 2014 at 19:14 comment added John Dvorak @Arm103 wait, is this your homework?
Apr 3, 2014 at 19:13 history edited Martin Ender CC BY-SA 3.0
added 2 characters in body
Apr 3, 2014 at 19:08 comment added Martin Ender @Arm103 I could, but I'll leave that to someone else. ;)
Apr 3, 2014 at 19:07 comment added User011001 Could you do this in php?
Apr 3, 2014 at 19:06 history answered Martin Ender CC BY-SA 3.0