UVA596 The Incredible Hull

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=7&page=show_problem&problem=537 [PDF](https://uva.onlinejudge.org/external/5/p596.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA596/99c18ac95d8ed4a6bab026308556d9924cd5dcaf.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA596/46d410c98d9611426cdfca0c51f8c388442e5d30.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA596/0b3d7469648568422a546f8fe3eb95e9491f6698.png)