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 Solvers2878
Suggested Problems
-
6509 Solvers
-
239 Solvers
-
Number of 1s in the Binary Representation of a Number
386 Solvers
-
Matrix indexing with two vectors of indices
587 Solvers
-
Find out sum and carry of Binary adder
815 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!