UVA10632 Pyramid

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1573 [PDF](https://uva.onlinejudge.org/external/106/p10632.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10632/47e7dc25c19455167d87ff791d2343c7bbe0841d.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10632/2b855cfe3d17e7d8377cbbd94beea43c8e392b6d.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10632/6987c7097ab563f9382bc22a08220563021d04af.png)