Freshers Task
CodeChefOpen on judge ↗
Aman a 2nd year student has to set-up a stall at Technofest '15. The stall is set for N days and only one person can work at the stall at a time. There are M first year students who are willing to work at the stall. Each of them is available for a different duration of time, from some day a to day b. If assigned work he/she arrives at the stall on day a and waits for the stall to be vacated(if
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