Problem 43131. Which coins to give
41.22% Correct | 58.78% Incorrect
Last Solution submitted on Feb 17, 2023
Rafael S.T. Vieira on 15 Sep 2020
This problem is hard due the precision error that floating-point numbers have. The number 0.1 may not be equal to 0.1, be careful.
Asif Newaz on 18 Dec 2019
i am surprised to see why the same thing doesn't work when kept in decimal
Problem Recent Solvers96
More from this Author12
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!