Practice, Seepy
CodeChefOpen on judge ↗
Seepy likes practicing competitive programming. He wants to participate in as many contests as possible. However, some of these contests take place at the same time. Help him find out the maximum number of contests he can participate in. There are $n$ contests taking place, the $i^{th}$ of which may be represented by a pair of integers $l_i$ and $r_i$ representing the start and end times of th
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