UVA10824 倍数问题 Regular Polygon

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1765 [PDF](https://uva.onlinejudge.org/external/108/p10824.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10824/dc3f0b776d0424f7a2b0f4d15a96af9545939955.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10824/990253e4760e1c76eea3497702d8067f6830761e.png)