← All problemsSign in

Maximize Performance

After Virat Kohli, it’s time for India to think about it’s bowlers. The team selector visits the MRF Pace academy in Chennai. There are a total of N bowlers in the academy who are described by the number of overs they can bowl in a day. Let this be denoted by Oi. Owing to fatigue, there are lower and upper limits Li and Ri for every bowler, Oi (both inclusive). The performance of a bowler is judg

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