5098: Entertainment Box

内存限制:128 MB 时间限制:5.000 S
评测方式:文本比较 命题人:
提交:10 解决:2

题目描述


   
        

样例输入 复制

3 1
1 2
2 3
2 3

样例输出 复制

2

提示

Sample Input 1
3 1
1 2
2 3
2 3
Sample Output 1
2
Sample Input 2
4 1
1 3
4 6
7 8
2 5
Sample Output 2
3
Sample Input 3
5 2
1 4
5 9
2 7
3 8
6 10
Sample Output 3
3

来源/分类