Row
CodeChefOpen on judge ↗
Introduction - Line up according to height! – thundered the Major. - Good. Slow, but good. And now line up according to age. - Too long! It’s taking too long, you sad sacks! Again – now line up according to height and age at the same time! - But Major, I don’t think that’s possible... - An order is an order! If you can’t do it in one row, form more than one! Do I always have to think for
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