I literally copied and pasted a part of the test suite into my code to make it work.
This is not a good thing.
Nice Solution
Number of 1s in the Binary Representation of a Number
359 Solvers
Project Euler: Problem 7, Nth prime
537 Solvers
493 Solvers
379 Solvers
276 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!