This solution is outdated. To rescore this solution, sign in.
-
2 Comments
ahmed nasr
on 14 Jun 2017
my solution is correct,, what is the problem
Pavol
on 16 Jun 2017
Problem is with the test suite it expects just 2 numbers and you generated vector of all possible solutions, if you return after finding the first pair it will work.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!