UVA13166 Pascal's Hyper-Pyramids

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=871&page=show_problem&problem=5066 [PDF](https://uva.onlinejudge.org/external/131/p13166.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13166/205fc4deb9cb68617865f8b971a93a2d79326c84.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13166/6814b3cc0b38eb47b76718bed80c8688f47dbea6.png)