← All problemsSign in

DSC Contest

DSC Club in our college is looking for a core team member who has basic knowledge of competitive programming. For that existing team created a contest and the ranks were released after the contest. You're given ranks of $N$ people with their $names$. your task is to select only $N/2$ people based on their ranks and display their names in the ascending order of their ranks In case if $N$ is

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