UVA12462 Rectangle

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=279&page=show_problem&problem=3905 [PDF](https://uva.onlinejudge.org/external/124/p12462.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12462/cd6faa1b893b4f66a6de9a30979eef566512562c.png)

Input Format

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

Output Format

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