UVA11395 Sigma Function

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=25&page=show_problem&problem=2390 [PDF](https://uva.onlinejudge.org/external/113/p11395.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11395/11a953ea361ad3ef39664dc00fcd447502e8c7d7.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11395/9657c3bb32549f34d1ab61ac94da74f078098647.png)