-
Notifications
You must be signed in to change notification settings - Fork 2
onechicken
bradendubois edited this page Nov 24, 2021
·
10 revisions
ID: onechicken
Difficulty: 1.9
CPU Time: 1 second
Memory: 1024 MB
Understanding the problem here is pretty straightforward; with N and M, N-M indicates a surplus of chicken if positive, a deficit if negative, and so one can tailor the output message depending on these situations. A slight difficulty is the cases of a difference of 1, since this affects the message to change "pieces" to "piece", which can be an oversight.