← All problemsSign in

My Game My RULES!!

Problem Statement Shyamu has lots of friends and they all wants to play cricket but no one really knew the rules of cricket. So shyamu made some weird rules, Rules are - In this game their is no concept of over and any number of player can play this game. - K number of balls will be bowled in a row. - Initially player number 1 will be on strike and player number 2 will be on non strike. - If

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