UVA10910 Marks Distribution

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=21&page=show_problem&problem=1851 [PDF](https://uva.onlinejudge.org/external/109/p10910.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10910/73b41484218f7c8fd51dd698dd828fb11a55da7c.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10910/4a01990455aa09eea82ef06024a2c872ff985a7f.png)