The Show Must Go On!
CodeChefOpen on judge ↗
It is Riddhi’s last time as organiser and question setter of $UEMCO$. But the SHOW MUST GO ON. Hence he was a bit worried about who will take him over and continue hosting the contests. He therefore asked his juniors to prove their worth so that they can be drafted into the core team. He gave a very simple problem to solve. Given an array $A$, pop out the first maximum and second maximum element f
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