UVA10610 Gopher and Hawks

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1551 [PDF](https://uva.onlinejudge.org/external/106/p10610.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10610/cd3b6d0809134316c0a3a3dbe2d83dc30f54f4e3.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10610/45b1ab52d7453a199fe7a1ad0192b26ff9d93642.png)

Output Format

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