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.
Check if sorted
Specific Element Count
Scoring for oriented dominoes
Dimensions of a rectangle
Digit concentration in Champernowne's constant
Cryptography with A Square Matrix : Encoding
Write c^3 as sum of two squares a^2+b^2
Pi Digit Probability
Integer to boolean
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