记录一些算法竞赛会用到的 Trick。
中位数二分
https://www.luogu.com.cn/problem/P2824
前缀和取模
https://www.luogu.com.cn/problem/P4552
设计区间加法转换为差分数组 https://www.luogu.com.cn/problem/P4552
记录一些算法竞赛会用到的 Trick。
https://www.luogu.com.cn/problem/P2824
https://www.luogu.com.cn/problem/P4552
设计区间加法转换为差分数组 https://www.luogu.com.cn/problem/P4552
发表回复