3 1 1 2 1 2 3 2
1 2 【数据规模和约定】 30%的数据满足N <=20000; 100%的数据满足2 <=N<= 2.5*10^5、0<=xi,yi,li<=2*10^9,1<=L<=2*10^9,xi<=yi.