使用快读的时候,
直接这样用会产生一些神奇错误
update(1,1,n,read(),read(),read());
改成这样又没问题了
l=read(),r=read(),val=read(); update(1,1,n,l,r,val);
不知道为什么