vashisth scheduling
CodeChefOpen on judge ↗
There is a techfest in iiit college called vashisht, the event organizer of vashisht has collected all details of events and he is having data of $duration$ of an event and $deadline$ of an event and you will process the events in some order one after another. Your reward for a event is $d−f$ where $d$ is its deadline and $f$ is your finishing time. (The starting time is 0 , and you have to p
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