You are viewing a single comment's thread. Return to all comments →
I kind of have a problem with this constraint.
"0<= number of candies in each packet <=109"
Handing out a packet containing zero candies to a child seems needlessly cruel.
Plus it doesn't match to the first statement in the problem. A packet containing less than two candies is no longer a "packet of candies"
Seems like cookies are disabled on this browser, please enable them to open this website
Angry Children 2
You are viewing a single comment's thread. Return to all comments →
I kind of have a problem with this constraint.
"0<= number of candies in each packet <=109"
Handing out a packet containing zero candies to a child seems needlessly cruel.
Plus it doesn't match to the first statement in the problem. A packet containing less than two candies is no longer a "packet of candies"