COLLEGE FAIR
CodeChefOpen on judge ↗
There is going to be a major fair in your college in which there are many events are going to happen. There are **n** numbers of events you can attend. You know its starting and ending days and the amount of money you could win in the event. But the condition is that you can attend only one event in a day. Tell the maximum amount of money you will win. ### Input: - The first input line contains
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