hdu 1828 picture题目大意:解题思路:
题目大意:求矩形并周长;解题思路:没啥思路,看着网上大牛写的,顺便练了下代码;#include#include#includeusing namespace std;#define maxn 100010#define L(a) (a)<<1#define R(a) (a)<<1|1struct Line{ int l,r,h,s; Line(){} Lin