摘要:
/*题目: 给出n个矩形的坐标,求所有的矩形的覆盖面积分析: 离散化,具体请看Matrix67 http://www.matrix67.com/blog/archives/108*/#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using namespace std;const int X = 205;double x[X],y[X];int topx,topy;int n;double lx[X],rx[X],ly[X],ry[X];bool 阅读全文