UVA12304 2D Geometry 110 in 1!

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=278&page=show_problem&problem=3726 [PDF](https://uva.onlinejudge.org/external/123/p12304.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12304/f2f92fa4104568423c96f6bda855810bbcc19ee7.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12304/80f791819d1d9d45e0420f0492baec19d8eced23.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12304/75244e2394bc6b5d4010f858366da1198eef71a8.png)