UVA11930 Rectangles

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=229&page=show_problem&problem=3081 [PDF](https://uva.onlinejudge.org/external/119/p11930.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11930/75afe4eb6424aa681087129cd5243940f74c34a7.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11930/78d8d3c2e64ea960c1a9568a8b68bc6cdda9696b.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11930/dc3a1c0e16c07a3fff8a22644848004367ad9c59.png)