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.
Clean the List of Names
Basic electricity in a dry situation
Matrix indexing with two vectors of indices
Create an n-by-n null matrix and fill with ones certain positions
Mersenne Primes vs. All Primes
Find two triangular numbers whose sum is input.
Bridge and Torch Problem - Length of Unique Time List
Modular multiplicative inverse
Fill the matrix - 1
Low level NaN
Find the treasures in MATLAB Central and discover how the community can help you!
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