#P1581. 凌乱的yyy

凌乱的yyy

Description

Input Format

Output Format

一个整数,表示最多参加的比赛数目。
3
0 2
2 4
1 3
2

Hint

样例中,参加[0,2]和[2,4]


n<=10^5

Source

贪心