QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
Time Limit:
1 s
Memory Limit:
256 MB
Hackable ✓
The 1st Universal Cup. Stage 21: Shandong
C. Connected Intervals
This problem is prepared by
TsReaper and zimpha .