Marks Distribution
题目描述
[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)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10910/e38c7913e9ce8e22e1a7de2124a26e7b1e04f359.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10910/4a01990455aa09eea82ef06024a2c872ff985a7f.png)
输入输出样例
输入样例 #1
2
3 34 10
3 34 10
输出样例 #1
15
15