Cinema Theatre Problem
CodeChefOpen on judge ↗
Assume PVR has introduced ‘1-Day premium’ tickets. With a ticket, you can see all the movies that PVR is showing on the day you are going. Assume the movies are non-overlapping in a day. You have different levels of interest towards each movie (which is treated as an integer called benefit value). You are also given the time period a movie is shown(from which day to which day, incl. both). Your ai
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