← All problemsSign in

Moneyball

*December 18, 2018* It's auction time and Kings XI Punjab desperately wants to build a good team at least for this IPL. They have already retained 10 players from their previous season and they now want you to complete their squad. You should pick at least 8 players and at most 15 players to satisfy IPL's squad requirements. Totally there are $N$ players available in the auction pool. Each play

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