UVA10322 The Four in One Stadium

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1263 [PDF](https://uva.onlinejudge.org/external/103/p10322.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10322/ea5a6ed419675574ee5f5ebab18c6227c3d8a814.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10322/8138dfb9c492de3caea22ead3def9eb525557236.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10322/7d4a704c6697e9fb43eeda6db25d6c7695fe7f54.png)