UVA898 Hole Cutter

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=10&page=show_problem&problem=839 [PDF](https://uva.onlinejudge.org/external/8/p898.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA898/710d34b647cedbd2e347f99fbab781718fe3cd6c.png)

Input Format

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

Output Format

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