← All problemsSign in

Help The Cruise Chef

Deepthi loves cruises and she runs a catering service on Cruises. The cruise she is onboard today is going to Africa and her job is to prepare lunch for all the passengers onboard on the cruise. She has given an ID number to each of the food items she can prepare, each ID number is denoted by an integer. The cruise manager provides her with the number of food items a meal box can hold. A meal b

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start