UVA11277 Cyclic Polygons

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2252 [PDF](https://uva.onlinejudge.org/external/112/p11277.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11277/cb091d40bd035dfd10d56ecbbf3416f10b95479e.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11277/137f751a5658d0e63bb3fb9399ffc7113e35ed07.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11277/5394dec6eecb7cac08d89fb2a2c6135716ca4f3d.png)