UVA356 Square Pegs And Round Holes

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=5&page=show_problem&problem=292 [PDF](https://uva.onlinejudge.org/external/3/p356.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA356/9592492461b47052b813a70466e7fe390d009951.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA356/125f84e6c233b377339d1d35496ccb0b4cac4a28.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA356/81e3ab722b3368c31707896a4f3cbad516b6989c.png)