UVA469 Wetlands of Florida

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6&page=show_problem&problem=410 [PDF](https://uva.onlinejudge.org/external/4/p469.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA469/b3f062584ebba398e673419da311be1fcd35a719.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA469/5ef2a4f0c5ecd969830458708462eb0e0033119b.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA469/2af57592fb764a0261c1dddbef51b585f6834a73.png)