Cody

Problem 44501. Please check if calorie intake is less than 300 kcal.

I like eating some puddings and some chocolate cookies around 3 o'clock. However, I care about calorie intake. Please check whether total calorie intake is less than 300 kcal.

The calorie of a pudding is 108 kcal. The calorie of a chocolate cookie is 48 kcal.

For example, in case of pudding = 1, cookie = 2, 1 is returned because the total caloric intake is 204 kcal and less than 300 kcal.

Solution Stats

85.0% Correct | 15.0% Incorrect
Last Solution submitted on Oct 30, 2019

Problem Comments