Why does this fail? Numerical error!
Agreed: the Test Suite _should_ pass this, but is treating the floating point results as if they were true integers (which they're not).
2273 Solvers
Project Euler: Problem 7, Nth prime
548 Solvers
Sum of diagonal of a square matrix
1340 Solvers
181 Solvers
328 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!