Lang:G++
Edit12345678910111213141516171819202122232425262728293031//// main.cpp// 清理海报//// Created by Jiao Liu on 3/9/17.// Copyright © 2017 ChangHong. All rights reserved.//#include <iostream>#include <vector>#include <list>using namespace std;struct post{int x1,y1,x2,y2;};vector<post> stack;int W,H,N;bool isSep(post x, post y){if (x.x1 >= y.x2 || y.x1 >= x.x2) {return true;}if (x.y1 >= y.y2 || y.y1 >= x.y2) {return true;}return false;