In pset 1 for the greedy set, it only asks me for the total amount of coins used, but for fun the code also shows exactly how many coins are used for each type of coin, ex. 2 nickels and 3 dimes. but when I use check50 it puts it wrong, which one should I submit?


In general, a good software engineering tip is to have your software doing exactly what it is supposed to do (no more and no less). This tip is enforced by check50. That is, if your program execution does not exactly match the one in the pset specification page, it will fail the tests.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .