← All problemsSign in

The Auction

While testing the Pravega event Auction, Ishan was planning how to break ties between equal bids. The event has multiple rounds of bidding and in each round participants have to quote a certain (integral) amount. At the end of all the rounds, the sum of amounts bid in each round is the total bid of each participant. He eventually decided that in case of a tie in the bid, the participant with the

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