Problem 256. Return the 'Size' of a String of Code
Solution Stats
Problem Comments
-
2 Comments
can anyone give me a hint about this problem
See
http://de.mathworks.com/matlabcentral/about/cody/
http://blogs.mathworks.com/community/2012/02/06/scoring-in-cody/
Solution Comments
-
1 Comment
I found the help for this problem to be a bit circular. In the end, there was a comment from one of the blog posts that mentioned looking at the undocumented mtree code (e.g. 'edit mtree' a the command line). It's a big class, but try looking for the nodesize method and go from there. I don't know if this is how actually how cody comes up with the score, but the number of nodes from mtree works as a solution here.
Problem Recent Solvers126
Suggested Problems
-
364 Solvers
-
Set some matrix elements to zero
375 Solvers
-
622 Solvers
-
Area of an equilateral triangle
4840 Solvers
-
poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
185 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!