求助,被卡空间,人要疯了。

P3567 [POI2014] KUR-Couriers

@[seanli](/user/186240) 我并没有发现您的jl有什么用(
by Lazy_Labs @ 2022-12-06 23:06:05


@[seanli](/user/186240) 把变量jl删了。
by XHY20180718 @ 2022-12-07 01:04:28


@[seanli](/user/186240) ```cpp struct tree{ int ls,rs,sum; }t[N*20]; ``` 然后你就A了
by XHY20180718 @ 2022-12-07 01:08:31


@[seanli](/user/186240) 再不行干脆动态开点算了。
by XHY20180718 @ 2022-12-07 01:10:46


??我什么时候加的jl? @ xiehuiying ,@[Lazy_Labs](/user/376137) 谢谢。
by strlen_s_ @ 2022-12-07 08:10:05


@[seanli](/user/186240) 其实建议把递归变量搞少一点,不然栈空间很大。
by XHY20180718 @ 2022-12-07 10:31:06


|