Net Practice Session
CodeChefOpen on judge ↗
After a Nets practice session, the trainer accidently mixed Virat’s, Rohit’s and Sachin’s bats together and kept them in players kitbags. Later when he realises his mistake he asks his son to help him correct his mistake. So, they take out all bats from each bag and arrange them in 3 rows corresponding to 3 bags. Now they have to arrange bats and keep them in the player’s kitbags again accordingl
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.
Sign in to chat with the tutor and save your progress.
Sign in to start