← All problemsSign in

Strike-Rate

The Cricket World Cup is currently taking place and there is high expectations on the Indian team to win the trophy. The conditions suggest that big scores are needed to win games. In order to score big, the batsmen need to score runs at a good strike rate. Given that a batsman has so far scored $R$ runs in $B$ balls, determine the minimum number of balls that he needs to face in order to attain a

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