UVA10712 Count the Numbers

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=19&page=show_problem&problem=1653 [PDF](https://uva.onlinejudge.org/external/107/p10712.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10712/afb33fbaf7707ec5ea72e2a9f36ff404e7c34220.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10712/464976e332e71004538d32519a021c8ff0f7d54a.png)