← All problemsSign in

World Cup

CodeChefRating 3092Open on judge ↗

The Test Cricket World Cup 2023 is about to start, and cricket fans worldwide are very excited to watch the World Cup matches. The total duration of the World Cup is $H$ days. Due to logistical issues, the organizers of the World Cup want to conduct the **least** number of cricket matches possible. The planning committee have a choice of $N$ possible cricket matches to choose from. The $i$-th m

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