UVA787 Maximum Sub-sequence Product

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=9&page=show_problem&problem=728 [PDF](https://uva.onlinejudge.org/external/7/p787.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA787/d4969ff6dd76b3418ee9cc527109320dddcb2c85.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA787/771990f41e4a27222d181cea811ac251eba6f3da.png)