UVA10809 Great Circle

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1750 [PDF](https://uva.onlinejudge.org/external/108/p10809.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10809/f00e8ba10bbf7ae4e52885fe0cafc21c03f9f91b.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10809/3287ace0ef39e2a2f7491a0d67159738de16f6f0.png)

Output Format

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