UVA10495 Conic Distance

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1436 [PDF](https://uva.onlinejudge.org/external/104/p10495.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10495/4b3318134603784fdbfe6e6b95453ca000e79211.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10495/1902e77eab400c3e3dc3881b0a2735c68acdeda8.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10495/874c560e6b3d7d9fa44442ae1690fc907e9526cf.png)