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/1774freepassesforeveryone ). 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.
Zeroscore solutions have some history in Cody (see problem 42396). This solution was the only zeroscore 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
Test  Status  Code Input and Output 

1  Pass 
%%
assert(isequal(times2(1),2));
You just got a free pass. Congrats!

2  Pass 
%%
assert(isequal(times2(11),22));
You just got a free pass. Congrats!

3  Pass 
%%
assert(isequal(times2(3),6));
You just got a free pass. Congrats!

4  Pass 
%%
assert(isequal(times2(29),58));
You just got a free pass. Congrats!

Select every other element of a vector
17094 Solvers
599 Solvers
Compute a dot product of two vectors x and y
656 Solvers
208 Solvers
315 Solvers