← All problemsSign in

CHEF AND AUCTION

Our Chef is big fan of cricket and he is going to the auction of Kapil Dev's Bat. The auction committee will invite at max M bidders. There are total N bidders including Chef. The standard of each bidder is defined by the value of assets he posses. The Auction has an opening bid O, a bidder is invited only if his total value of assets is greater than or equal to the opening bid. You are given 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