Make Vineet Win it
CodeChefOpen on judge ↗
Vineet is managing HR Department of a company which has N employees. Each employee has a efficiency rating P from 0 to N-1 (Both inclusive), and two or employees can have same performance rating. An event is being held at external venue, where employees are made to sit on a seats which is between 0 to N-1 (Each seat number is unique) in a random fashion. Vineet needs to nominate two people for com
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