HackerRank Marc’s Cakewalk Problem Solution
In this post, we will solve HackerRank Marc’s Cakewalk Problem Solution. Marc loves cupcakes, but he also likes to stay fit. Each cupcake has a calorie count, and Marc can walk a distance to expend those calories. If Marc has eaten j cupcakes so far. after eating a cupcake with e calories he must walk…