UVA12812 The Largest Diamond-Shaped Kite

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=861&page=show_problem&problem=4677 [PDF](https://uva.onlinejudge.org/external/128/p12812.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12812/3260d27de7d697c58f0bd7e0747425ff42663ca6.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12812/04ce2004b67aaa9f694af81b2fe85baa414a3c16.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12812/6441c07908f065279220b4d5c3dce4cd302e0e41.png)