UVA11596 Convex Orthogonal Polygon

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=27&page=show_problem&problem=2643 [PDF](https://uva.onlinejudge.org/external/115/p11596.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11596/d5b529376d76e793189e8b8ee474d428ba2ec005.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11596/4f32339e5dfcef947e2ca90a4c059a2f87b066c2.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11596/68b743996a05dfe03ee881bf920f00f1df50b6a5.png)