UVA476 Points in Figures: Rectangles

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6&page=show_problem&problem=417 [PDF](https://uva.onlinejudge.org/external/4/p476.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA476/120c6ddf7459b3df7fe0799334265d369344ada8.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA476/4c4846e197fd8b62467b44d1483af0990cf579b7.png)