版本比较
P14528 [BYOI R1] 雨后屋檐 题解
标题
增加 1 行删除 1 行
11P1???? [BYOI R1] 屋顶 官方题解P14528 [BYOI R1] 雨后屋檐 题解正文
增加 7 行删除 1 行
12234567849 行未改动5859606162636465666768157 行未改动全部展开226227228229230231:::info[题面 & 提示]
[P1318](https://www.luogu.com.cn/problem/P1318) 超级加强版,区别在于本题包含多个询问,每个询问给定查询的区间 $[l, r]$ 与最大水面高度 $H$,强制在线。[P1318](https://www.luogu.com.cn/problem/P1318) 的做法对本题有一些启发。[P1318](https://www.luogu.com.cn/problem/P1318) 加强版,区别在于本题包含多个询问,每个询问给定查询的区间 $[l, r]$ 与最大水面高度 $H$,强制在线。[P1318](https://www.luogu.com.cn/problem/P1318) 的做法对本题有一些启发。
:::
设 $n, q$ 同阶。
49 行未改动
:::
:::success[Code]{open}
我人傻常数大,跑得挺慢的。
```cpp line-numbers#include <bits/stdc++.h>
#define rep(i, s, e) for(int i = s; i <= e; ++i)157 行未改动全部展开 write(xorans); return 0;}```
:::