← All problemsSign in

Flaw in the Score Book

In a cricket match all bowlers were bowling too many extras. Extras being wide ball and no ball only. Due to this, the scorer got confused and made some mistakes in the scorer book. You are given n strings which represent the deliveries in an over, in the scorer book. An over consists of exactly 6 balls and extras in not counted as a legal ball. You have to print "YES" if the over is correct in th

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