版本比较
百题斩计划 1 / 星星之火,安能伤我
正文
增加 10 行删除 0 行
17 行未改动181920212223242526272829303117 行未改动
https://www.luogu.com.cn/problem/P10636 枚举两端点对 dtx dty 然后套路计算即可。加上同行同列。
https://www.luogu.com.cn/problem/P8670 简单题。
https://www.luogu.com.cn/problem/P7575 神秘题目,朴素 dp 显然,但是可以莫反,用狄利克雷前缀和做得更好,然后注意到修改的位置很少,于是直接类滚动数组状物。
https://www.luogu.com.cn/problem/P1298 Stern - Brocot Tree
https://www.luogu.com.cn/problem/P1814 类线段树二分的思考方式,进不进右子树。
https://www.luogu.com.cn/problem/P17223 可达的二分图上连边,然后最大独立集。
https://www.luogu.com.cn/problem/P10421 点分治