I'm a little slow this morning....the top solution is just a string? The submitter just did a fake entry to get the answer and then submitted a second one?
They cheated. The page says all code will be rerun with different input at the end of the week to determine the true winner, so all the hardcoded answers will drop out at that point.
Though it seems this problem has an obvious fastest solution that has been found and mimic'd repeatedly.
I really love this idea, and I want to compete but it appears the site is down, and I'm unable to submit solutions.
I've been wanting a version of Vimgolf targeted at Ruby for quite some time, it's an awesome way to improve your skills and uncover great tricks.
16 comments
[ 2.4 ms ] story [ 28.7 ms ] threadIs there an equivalent for Python, or any other language?
Why would you not hook this up to github for auth?
EDIT: The site is great by the way. My tone of disappointment at the authentication system is motivated by how nice the thing is.
Though it seems this problem has an obvious fastest solution that has been found and mimic'd repeatedly.
Is this by design?
Placing a random comment after my submission lets it through. So you might want to strip out comments for that bit.
Ok, so I have to add random noise to my solution? O_o
b) we now don't check for this but "similar" code will be grouped together to make things easier to hear.