UVA10302 Summation of Polynomials

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1243 [PDF](https://uva.onlinejudge.org/external/103/p10302.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10302/53d8868bb1d432f4861ca533d7c1adc4bfea86f5.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10302/0ada171fdc07167db51519715d487849bdc57c90.png)