Chef and Bats
CodeChefOpen on judge ↗
Chef will be traveling along with the Indian team for the ICC Cricket World Cup 2019. So, he has to ensure that all the bats of Indian players are delivered from India to England via flight. The flights have some constraints on the number of bats that can be delivered, i.e. each flight can carry maximum of $\textbf{N}$ bats. The players will have to send their bats before they themselves depart.
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