UVA12226 Simple Polygon

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=244&page=show_problem&problem=3378 [PDF](https://uva.onlinejudge.org/external/122/p12226.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12226/1215bfc08c49ed07c1343916c0b079a18964da47.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12226/469b94abb020950565ec61578e1149749b813910.png)

Output Format

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