-
24 Comments
What the heck is freepass?
Is this a solution ?
Nice place to test... ;-)
cute but ridiculous
why it's 'freepass.please',not other words else?
'freepass' is just a (cute but ridiculous) hack (see problem http://www.mathworks.com/matlabcentral/cody/problems/1774-free-passes-for-everyone ). The 'please' part is because we are really polite...
hello Alfonso !
I'd like to know how the solution size for your solution to the 'times two' question is '0'
can you please explain ?
thanks !
how is this even possible, solution with 0 size?
does freepass; still work?
"Leading Solution is 0".. Just.. How?!
I rescored this solution and it failed
@Aditya: I do not appreciate this solution being rescored, this particular solution had historical value to me, but obviously not to you
The reason I rescored your solution is because a solution cannot have a size of 0. With respect to your comment on the historical value, I think the solution is still there and I haven't changed that. If you still believe its an error from my side, you can email ned.gulley@mathworks.com and we can discuss it further.
Another solution is that you could use your free pass trick and rescore this solution again. I just don't want the solution to have a size of 0.
Zero-score solutions have some history in Cody (see problem 42396). This solution was the only zero-score freepass solution (all other passing freepass solutions got a score of 100 for good reasons), so having this solution now fail the test removes its score and hence its significance. In any way, this is all fine and just a game, I just think it would be sad to see all of the other solutions in Cody that got zero, negative, maxint or other "impossible" scores being rescored for no good reason (#endofgetoffmylawnrant)
Good Point. I speak to Ned about this and discuss whether we should keep such solutions or not.
Thanks for the input and sorry for the trouble. #peace
@Alfonso: I have reverted back my change :)
that's fantastic, thanks!
Tried the freepass command on my computer, all I get is
Undefined variable "freepass" or class "freepass.please".
Also I have no idea how code size is calculated
this cheapo solutions need to be deleted, no one benefits from this or learns about matlab
Alfonso, please remove this nonsense score which prevents those of us trying to learn from actually discovering how to improve our prgramming
なるほどこんな解決策があるのか!全く参考にならない。
function y = times2(x)
y = x * 2;
end
@Admin, please remove Alfonsos score. This is meant to be about learning Matlab to solve problems, not hacking cody and allowing egotistical self-promotion.
please update code grader system and remove solutions like this.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!