UVA10694 Combinatorial Summation

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1635 [PDF](https://uva.onlinejudge.org/external/106/p10694.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10694/4d5ab984de455ed983c72a6c9203ffde62e7f6f2.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10694/59cbb038d705b14bbe1e84708ec0bcb4f7ae4853.png)