HDOJ-1828 Picture(矩形周长并)
矩形周长并#include #include #include #include #define lson l, m, rt<<1#define rson m + 1, r, rt<<1|1using namespace std;const int maxn = 20010;struct Seg{ int l, r, h, s; Seg(){} Seg