摘要: https://atcoder.jp/contests/abc327/tasks/abc327_f 我们将时间看作x轴,位置看作y轴,那么我们随着时间增加,维护新加的点对区间的贡献,同时减去过时的点,线段树区间加法维护最大值即可。 #include<cstdio> #include<algorith 阅读全文
posted @ 2023-11-15 22:23 gan_coder 阅读(28) 评论(0) 推荐(0)