-
2 Comments
The leading solution (solution 103932) is wrong and doesn't work. The error is that the output argument "ans" is not assigned.
@Norbert, this trick worked in Cody before, now it doesn't. I wrote trick, cause it was a way to have a little bit lower Cody size. It was questioned why it's not banned, because it favours bad programming practices, so changes were made.
Suggested Problems
Return the largest number that is adjacent to a zero
4357 Solvers
613 Solvers
6427 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
6578 Solvers
422 Solvers
More from this Author100
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!