Rosetta Problems

Union of Rectangles

https://onlinejudge.u-aizu.ac.jp/problems/DSL_4_A