UVA13237 Intersecting Semi-Circles

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=878&page=show_problem&problem=5160 [PDF](https://uva.onlinejudge.org/external/132/p13237.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13237/010df850fec3450dd8bd231c2473732f5c296fd7.png)

Input Format

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

Output Format

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