Problem 1779. Oh Zero Zero Zero!!!
37.21% Correct | 62.79% Incorrect
Last Solution submitted on Mar 27, 2023
bainhome on 22 Aug 2018
no fancy function, no eccentric useage, and problem was swiftly solved. Excellent code!
Show 2 older comments
J.R.! Menzinger on 13 Aug 2013
Chris E. on 13 Aug 2013
Would of never guessed it!
Paul Berglund on 19 Aug 2013
This actually has a minor bug -- it may fail on inputs containing negative numbers, e.g. x=[1 -1], however this is simply fixable by taking abs(x).
Xiaoyi Chin on 4 Oct 2017
bainhome on 23 Aug 2018
it never gets tired to watch this kinda code.
Problem Recent Solvers314
Project Euler: Problem 4, Palindromic numbers
Project Euler: Problem 7, Nth prime
More from this Author17
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!