以下m行 每行兩個(gè)整數(shù),代表區(qū)間的范圍
數(shù)據(jù)規(guī)模和約定
1< =n,m< =10000
0< =點(diǎn)和區(qū)間的坐標(biāo)< =50000
5 5 2 6 3 8 7 2 5 3 4 3 3 2 7 6 9
2
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________