poj--1177(线段树+离散化+扫描线)
题目:http://poj.org/problem?id=1177A number of rectangular posters, photographs and other pictures of the same shape are pasted on a wall. Their sides are all vertical or horizontal. Each rectangle ca...