UVA11415 Count the Factorials

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=26&page=show_problem&problem=2410 [PDF](https://uva.onlinejudge.org/external/114/p11415.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11415/586d2aecda59d4352f18fd94635c30cc8093babb.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11415/6b643638db85ccc1a37e34250854d1fb581e1511.png)