The test to see if this is correct doesn't work. If you just code 'b = 0' then it is always correct!
This is really cool problem.
Nice problem
I get the correct answers for this, but the website refuses to tell me it is correct. Fix this dumb stuff.
@Harley, MATLAB functions are case sensitive. Did you try lowercase sum?
In fact this problem can be solved by only using sscanf and str2num.
one of the hardest problems I've ever faced
enjoyed solving this
Hehe, improving on a cheat solution is always fun!
Nice one :)
Cute. Fixed the test suite.
The test for this problem is wrong!
Well, that was disappointing!
1117 Solvers
Project Euler: Problem 10, Sum of Primes
735 Solvers
Back to basics 12 - Input Arguments
528 Solvers
Create an n-by-n null matrix and fill with ones certain positions
294 Solvers
Matlab Basics - Convert a row vector to a column vector
440 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!