Problem 1779. Oh Zero Zero Zero!!!
Solution Stats
Problem Comments
-
1 Comment
It's "their starting position" not "there starting position"...
Solution Comments
-
2 Comments
Great!
Great!
-
1 Comment
no fancy function, no eccentric useage, and problem was swiftly solved. Excellent code!
-
5 Comments
GREAT!!! :-)
Would of never guessed it!
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).
wonderful solution
it never gets tired to watch this kinda code.
Problem Recent Solvers245
Suggested Problems
-
11336 Solvers
-
Permute diagonal and antidiagonal
275 Solvers
-
Multiples of a Number in a Given Range
475 Solvers
-
252 Solvers
-
593 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!