Problem 2300. Natural numbers in string form
Solution Stats
Problem Comments
-
2 Comments
Seems that assert will accept string array instead of cell array. Shouldn't they be treated differently?
Don't think too hard about this set of problems, it's earlier then you think
Solution Comments
-
1 Comment
Again with regexp, and it's not elegant either. But regexp cannot be banned from solutions. Solution could be either changing how the size is calculated, taking into account the content of regexp (not sure how challenging it is to do it programmatically), or discarding solutions which have this format
-
3 Comments
Cheat
Please remove all the solutions from ChanXy which only bypass the assert function. They don't help no one...
There should be a check in the Cody evaluation to avoid this hack.
Agree with you
Problem Recent Solvers964
Suggested Problems
-
Given a window, how many subsets of a vector sum positive
832 Solvers
-
(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
254 Solvers
-
1061 Solvers
-
397 Solvers
-
835 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!