Christmas cake delivery
CodeChefOpen on judge ↗
These days Chef John is working at a bakery. Its December 24th today, so its Christmas tomorrow. Chef John is incharge of baking cakes. The bakery has received N orders that has to be delivered to the customers on the day of Christmas. Each customer has stated the time when they'll receive their cakes. These times have been noted in the the sequence in which the customers had arrived. the time is
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