UVA10245 The Closest Pair Problem

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1186 [PDF](https://uva.onlinejudge.org/external/102/p10245.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10245/c3f8541dec8028e9d183996ab37face8f4812f49.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10245/98cb3ac454f889d38c8f922e9cd333195a1e7f41.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10245/7704f2bda036a86137bf9b3d2d7f98049ec262ae.png)