Politicians and Businessmen
CodeChefOpen on judge ↗
Problem description. Big Politicians and Businessmen are attending an event today. All of them have been given their Bank Balances as their Unique IDs. Your Job is to provide them entry to the Event Arena in such a manner that Politicians/Businessmen with bigger Unique IDs are to be put first in the Entry Queue, followed by the lower ones. Politicians/Businessmen with equal Unique IDs are to be
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