← All problemsSign in

Cricket Score

CodeChefRating 1335Open on judge ↗

Teja likes cricket very much and likes to watch it all the time, but he is bored of watching the matches alone and asks his friend to give him company. But his friend doesn’t know how to read cricket scores so Teja decided to teach him. To make him understand better Teja gave him a list of scores of an innings of a match. The scores are ordered in the increasing order of time at which it was recor

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