Problem 337. Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.
Solution Stats
Problem Comments
-
4 Comments
Test case gives away solution!
I didn't think the main MATLAB program counted as a toolbox. Oops.
I think James is right: MATLAB itself isn't normally classified as a "Toolbox". Further, I think there may be another issue too, in that the Test Suite may only be considering Toolboxes from MathWorks, and disregarding third-party Toolboxes (see my Solution 1505802 for more on this), although there is no such restriction in the Problem Statement. On the other hand, that probably wasn't an issue when this problem was created in 2012! —DIV
The answer should be 0. It is written on the FAQ: "Cody supports MATLAB and not the toolboxes".
Solution Comments
Show commentsProblem Recent Solvers293
Suggested Problems
-
Return the 3n+1 sequence for n
8270 Solvers
-
230 Solvers
-
The Answer to Life, the Universe, and Everything
528 Solvers
-
457 Solvers
-
Create sequnce 1 4 9 16 25.........
327 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!