This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Diego
on 30 Dec 2014
This one passed tests, but solves another problem: p1 is odd and p2 is prime. It fails to find 2+2=4 and finds incorrectly 9+89=98.
Suggested Problems
-
3030 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1858 Solvers
-
Back to basics 12 - Input Arguments
605 Solvers
-
386 Solvers
-
487 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!