UVA638 Finding Rectangles

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=8&page=show_problem&problem=579 [PDF](https://uva.onlinejudge.org/external/6/p638.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA638/dd790096ce5b740d65d81a5b32ba927b9840c216.png)

Input Format

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

Output Format

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