Evaluation II
CodeChefOpen on judge ↗
TIET is organizing several cultural and sports events. Since it’s mid of a semester, organizers wish to prepare an optimal event schedule with respect to time as this will maximize students’ participation. Let there are $M$ students which may participate in $N$ events. Each event needs some hours to complete. Each of the $M$ students can participate in any number of events ranging from 0 to $N$
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