Unreachable Amounts - A Proposed New Problem

Back to General discussions forum

CSFPython     2025-08-23 07:44:15

This is a problem about using combinations of coins to arrive at different totals; in particular to determine whether or not a given total is achievable.

gardengnome     2025-08-23 12:37:52
User avatar

Thanks - interesting new take on the coins problem.

TestUser     2025-08-23 18:06:12
User avatar

Yep, it amazes that the problem statement looks pretty straightforward and meanwhile it never came into my mind! Perhaps because of the related but much simpler problem which allows negative amounts of coins (i.e. change from cashier). I eventually scrapped a bruteforce solution after two attempts at ideas which were obviously wrong. I think this bruteforce could be significantly improved, but it is yet to be seen whether i can code it :) And in morning I have thought "hah, that shouldn't be difficult task!"

Please login and solve 5 problems to be able to post at forum