In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do anything you want it to do. If it has a size of 500, it passes.
Interesting that some cases with a size of 500 are being rejected. It looks like you need to keep the function statement constant as Cody500(x) to get credit for the solution. Changing the function call to Cody500() or Cody500(a,b) seems to make it incorrect, even if your function has the proper size. Any thoughts from people who know way more about this sort of thing than I do?
It worked for me with "function y = Cody500(x, y, z)" in Solution 1282868.
Small enough so that it can be viewed in full in the solution list without expanding its window (by clicking on 'more') or scrolling to the right.
Increment a number, given its digits
Replicate elements in vectors
Say something funny
Determine the number of odd integers in a vector
Break it up! Break it up!
Numbered lottery balls into cells
High Precision Square Root (Inspired by Project Euler 80)
I'm going to enjoy watching you calculate, Mr Anderson
S-T-R-E-T-C-H I-T O-U-T
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office