我和你遇到了一样的问题qwq
by Brave_Cattle @ 2019-02-25 18:09:35
```
if(!v[i][0])
{
te=v[i][2]-v[i][1]+1-te;
//printf("%d count0\n",te);
chng(1,v[i][1],v[i][1]+te-1,0);
chng(1,v[i][1]+te,v[i][2],1);
}
else
{
//printf("%d count1\n",te);
chng(1,v[i][1],v[i][1]+te-1,1);
chng(1,v[i][1]+te,v[i][2],0);
}
```
你这里调用更新函数的时候是不是左端点可能大于右端点
by Dreamunk @ 2019-03-03 15:53:38