``for(int i=i;i<=n;i++)``
to
``for(int i=1;i<=n;i++)``
@[yuanzhenxiang1117](/user/471467)
by 2c_s @ 2024-02-01 10:57:17
@[2c_s](/user/583186) 改了直接显示程序已停止工作了
by yuanzhenxiang1117 @ 2024-02-01 11:54:10
@[yuanzhenxiang1117](/user/471467) 那就是你上面线段树有问题了
by 2c_s @ 2024-02-01 12:22:18
最好别用scanf读字符
by 2c_s @ 2024-02-01 12:23:43
@[2c_s](/user/583186)
我这就是照着模版来的啊。。不知道哪里有问题
by yuanzhenxiang1117 @ 2024-02-01 14:07:36