萌新全部wa求调

P3372 【模板】线段树 1

将 ```cpp update(1,1,n,x,y,k); ``` 改成 ```cpp update(1,x,y,1,n,k); ``` 试试?
by Alexxtl @ 2023-10-18 23:51:59


@[Alexxtl](/user/598187) 试了一下 还是全wa()但是样例过了
by hnoi @ 2023-10-20 15:48:39


|