Rosetta Problems

Intersection of Rectangles

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