Winner Winner 2nd Winner
CodeChefOpen on judge ↗
After ending $PRCO2019$, the organizing team wants to know who is the 2nd winner. There are $N$ numbers of user participated in this contest. Each participant has a unique $id$ and $score$ he got in the contest. Since members are busy in some other work they need your help to find out the id of the $2nd$ $winner$. In case of a tie, the participant whose $id$ is greater ranked above. For example,
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