Class Configuration
CodeChefOpen on judge ↗
Hajra & Khushi are good friends. They study in the same school and travel on the same bus. There are 10 sections for each class in the school. Both are promoted to the next class and are in the same section. Hajra & Khushi are excited about their first day and want to sit together. In their class, there are **$n$** rows of chairs along with the table. There are 4 chairs in each row, and the chair
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