Any idea what the time limit for the Cody solutions is? I've got code that runs the test suite in about 2.3 seconds on my (six-year old) machine, but it's timing out repeatedly on Cody.
Hi, James. The Cody time limit is reportedly around 30 seconds. [ https://www.mathworks.com/matlabcentral/cody/problems/44356 ] I just have confirmed a runtime of ~24 seconds (split across four tests) did not time out on Cody [Solution 1327589]. Although I would generally be aiming to get code complete within less than ~10 seconds in Cody. [Cf. Problem 44389.]
While evaluating the solution, the server encountered an error caused by long running MATLAB code. Edit the code if needed and then submit.
Find the biggest empty box
Piecewise linear interpolation
Largest Twin Primes
Dimensions of a rectangle
replace nan values iteratively.
Fill the Matrix - 2
Delete the rows in the middle
Recaman Sequence - II
String permutations on phone keyboard
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