THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT

*Simply return the name of the coolest numerical computation software ever*

**Extra reward** (get a *freepass*):

As an additional reward, solving this problem correctly a few times in a row will grant you a temporary **freepass** for **any** other Cody problem. To cash this freepass follow these steps:

- First solve this problem correctly five times in a row
- Then visit the Cody problem that you wish to solve, click 'Solve this now', and enter within the function body of your solution the line:

freepass.please;

and cody will accept that solution as correct (don't believe it? give it a try; note: freepasses have a relatively short lifespan -less than an hour-, repeat these two steps as needed.)

**Fineprint**:

1) *How many times do I need to solve this problem to get a freepass?* Short answer: around five.

Long answer: at any given time, Cody has around 5 servers running solutions (sequentially or randomly, not quite sure). Every time that you solve this problem a *freepass* is issued for the particular server where your solution was evaluated. When you run a *freepass.please* solution, if that solution is run in the same server where a freepass was issued your solution will pass, otherwise you will get an "undefined variable freepass" error. So if you solve this problem just once, you may need to run your `freepass.please` solution a few times (on average 5) until you hit the same server again and get a passing grade. Alternatively you may want to solve this problem a few times in a row (around 5) first in order to fill *all* current servers with freepasses, and this would then give you a passing grade on the first attempt of a `freepass.please` solution. This will also leave some extra freepasses for your fellow Cody players :)

2) Your correct solution will get a score of 100 (this is typically high enough so that we do not troll the score lead with these freepasses)

3) Feel free to explore this problem testsuite to see how this works, but please respect some basic courtesy guidelines if you decide to implement your own (e.g. the service does not interfere with the normal Cody operation; it cleans up after itself; don't use it to get a leading score; etc.) Comments and suggestions for improvement are appreciated!

4) This *freepass* service is 'likeware'. Please 'like' this problem if you liked the code or enjoy using your freepasses :)

Show
16 older comments

Claudio Gelmi
on 6 Aug 2013

Alfonso, it is incredibly clever and ingenious!!!

Alfonso Nieto-Castanon
on 7 Aug 2013

Thanks!

Chintan
on 13 Aug 2013

Amazing, it works. Very Clever.

Christopher
on 13 Nov 2013

Finally! I can now beat the cody problem that wants me to play on the weekend. Smart and subversive. My new favorite cody problem.

Dimitrios
on 8 Mar 2014

nice!

Jonathan Campelli
on 29 Apr 2015

If I had read 3) more carefully, I would not have used to solve the Rubik's Cube problem like I did. My apologies.

Alicia Aliaga Vicente
on 13 May 2015

Nice!

Alfonso Nieto-Castanon
on 19 Jun 2015

Freepass functionality has not been working for the past few weeks due to a change in the underlying Cody machinery. The fix to get freepasses working again is very simple but I am hesitant whether I should take this change in Cody machinery as a sign from above and let this problem quietly expire. If you believe freepasses are useful please let me know in the comments, and if you believe they interfere too much with the normal Cody balance and I should let this functionality expire please let me know as well. Other thoughts/suggestions are also welcome (I could implement a maximum number of freepasses per user per week, for example, if that would help avoid abuses)

goc3
on 14 Aug 2015

I would prefer that it be kept up, if possible, with a limiter, like you mentioned, of one or two per user per week. The reasoning is there are many problems on Cody which can no longer be solved (some older ones, due to Matlab or Cody upgrades) or which were never solvable without hacking due to poorly written test suites. Since these problems typically aren't removed from Cody, newer players shouldn't be handicapped by never being able to solve all posted problems.

James
on 14 Aug 2015

Can you get this working on the Simulink problems? :-)

Alfonso Nieto-Castanon
on 27 Jan 2016

just an update: it would seem that Cody has now perhaps between 30 and 50 nodes/servers instead of the old ~5 nodes running Cody solutions. This just means that you need more patience/persistence to get a freepass. The recommended "optimal" balance would now be to send ~7 correct solutions to this problem, and then submit freepass.please solutions to your secondary problem until you hit the right server and get a passing grade (on average you would need another ~7 freepass.please submissions until you hit the right server). I will update this post if I get a better estimate on the actual number of servers running cody solutions

goc3
on 1 Sep 2016

Cody has had some improvements recently, and it appears that this no longer works. The function will sometimes return successfully, but I can't get more than four in a row. The error description is: "No public property version exists for class cody.verifyCode." Is this problem now dead, or can it be revived, perhaps with a maximum per user per time period as mentioned in other comments here?

goc3
on 1 Sep 2016

And, better yet, I now get that cody.verifyCode class error randomly when trying to solve other problems.

Jan Orwat
on 1 Sep 2016

Hi Grant. Many users reported cody.verifyCode problems in comments. In the last couple of days I've got it about 10% of the submissions. I guess it's independent from free pass problem.

Alfonso Nieto-Castanon
on 1 Sep 2016

@Grant/Jan. This could still be related so just to play it safe I am temporally taking this problem down until I can have it fixed/updated

Dan Po
on 24 Sep 2016

does this hack still work?

mohd mu'aazullah yaakob
on 28 Dec 2016

Nice one

Yusra Ashfaq
on 28 Dec 2016

.

Matthew Luerman
on 4 Aug 2017

lol

1 player likes this solution

1 Comment

Sreenath Sivadas
on 14 Jul 2015

cool..
:P

**Tags**

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today
43 players like this problem

43 players like this problem