-
3 Comments
Tomasz
on 2 Feb 2012
You should pass the x values as a string. A double precision number cannot resolve all the digits that one needs to solve the test suite problems:
>> x = 321676750829977632;
>> x == x+1
ans =
1
@bmtran (Bryant Tran)
on 2 Feb 2012
I agree that there is an issue with the last test suite problem. passing it as a uint64 would work too.
Franck Dernoncourt
on 2 Feb 2012
Yep I got "Error: Out of memory. Type HELP MEMORY for your options." :-)
Suggested Problems
-
7354 Solvers
-
2286 Solvers
-
508 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1212 Solvers
-
327 Solvers
More from this Author51
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!