HELP HELP
CodeChefOpen on judge ↗
Use approach wisely. Chef wants to calculate the number of people come in the restaurant and when the total number of people exceeds 50 then chef closes the bakery because the total number of cakes in the bakery is 50. Chef is busy somewhere else so she wants help. Can you help chef to calculate ? Input: Input integer in single line and when new people come enter total number. output: when 50 co
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start