Obedient Rahul
CodeChefOpen on judge ↗
Rahul is a very obedient student and do all the work given by his teacher. His teacher give a number of assignments everyday in such a way that each assignments have starting time as well as finishing time. The total time to complete the assigments is between the smallest starting time and largest finishing time(inclusive). Only problem was that, students could only do one assignment at a time and
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