← All problemsSign in

Events and Budgets

There is tech fest being organised in Apeejay Stya University ,and Asuian have a fixed budget allocated for that and they want to organise $E$ events such that Asuian get maximum paricipation from various college. Asuian have been alloted a budget $B$, and they have $N$ events where each event has some cost $c$ associated with it, and it would bring $p$ participation in the university They are t

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