UVA10012 How Big Is It?

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=953 [PDF](https://uva.onlinejudge.org/external/100/p10012.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10012/3ba63f631fd9975f29ece247d8cfb7d4301541d6.png)

Input Format

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

Output Format

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