Divide and Rule
CodeChefOpen on judge ↗
It's the first day of Sushil at high school. Every class in his school has a class teacher. Since every year some mischievous students come to school, class teacher elects one class representative who in the absence of main teacher handles the mischievous students and maintain the discipline of the class. Sushil is very enthusiastic about the post of class representative and wants to become the ne
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