Problem 28. Counting Money
Solution Stats
Problem Comments
-
2 Comments
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.
Solution Comments
-
1 Comment
Nice problem
-
2 Comments
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?
-
1 Comment
In fact this problem can be solved by only using sscanf and str2num.
-
2 Comments
one of the hardest problems I've ever faced
enjoyed solving this
-
3 Comments
Hehe, improving on a cheat solution is always fun!
Nice one :)
Cute. Fixed the test suite.
-
2 Comments
The test for this problem is wrong!
Well, that was disappointing!
Problem Recent Solvers2881
Suggested Problems
3518 Solvers
230 Solvers
Generate N equally spaced intervals between -L and L
708 Solvers
4454 Solvers
3897 Solvers
More from this Author95
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!