UVA12532 Interval Product

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=441&page=show_problem&problem=3977 [PDF](https://uva.onlinejudge.org/external/125/p12532.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12532/34d488328e36c69af0cba97656e2768c6b179f6b.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12532/61c8bb3066f4c84fd4a274aa2d11d8f949361b69.png)

Output Format

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