← All problemsSign in

Virat and his Team

Cheeku aka VIRAT KOHLI the great Indian Batsman is loved by all for his tremendous batting skills but still many hate him because of his attitude which he possesses both inside and outside the field.Still he is the best and will remain the best .Recently he decided to complete the competitive programming course at National University of Singapore and was presented with the following problem at the

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