UVA11263 Nested Rectangles

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2230 [PDF](https://uva.onlinejudge.org/external/112/p11263.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11263/156bbd29bc0b7ed6edc4248db7ac8fff5cf4daab.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11263/0a8345687515319fbf141c821f5a80f52008cf02.png)