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
-
21575 Solvers
-
2535 Solvers
-
1028 Solvers
-
Find nearest prime number less than input number
460 Solvers
-
2890 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!