UVA11092 IIUC HexWorld

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=22&page=show_problem&problem=2033 [PDF](https://uva.onlinejudge.org/external/110/p11092.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11092/e1f6c4867f7823c570027d3ee9ec6d3deb8735a4.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11092/aa528e9a6d7b02bbf00d4a6fd846cd071baf073c.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11092/efc8df01d0a0a7ab38c67ac12cba1bf3263661ba.png)