UVA11522 Pyramid Number

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=27&page=show_problem&problem=2517 [PDF](https://uva.onlinejudge.org/external/115/p11522.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11522/4d9b3f92f469391d35811f0ca079c5009f4c555f.png)

Input Format

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

Output Format

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