UVA934 Overlapping Areas

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=11&page=show_problem&problem=875 [PDF](https://uva.onlinejudge.org/external/9/p934.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA934/9a8406eb936f5110a90e1158f5152afb020dc148.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA934/1d38689c150a499d7a72018f9545e501506b7c46.png)