UVA12728 Super Circumference

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=823&page=show_problem&problem=4580 [PDF](https://uva.onlinejudge.org/external/127/p12728.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12728/99317884f666e6771ef6a9ad2a861027ce966aec.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12728/40b23d9ce70bfb5ae7f5bd285a30642bdb2c7221.png)