Problem 2300. Natural numbers in string form
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
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
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 Solvers970
Magic is simple (for beginners)
Convert a Cell Array into an Array
More from this Author1
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!