-
5
★问题描述:
给出平面上的N 个二维点,求出距离最小的2 个点对。本题中距离定义为他们的直
线距离。例如(0,0) (3,4)的距离为5.
★数据输入:
有多组数据,对于每组数据,第一行是一个数字N 表示点的个数。N=0 的时候说明
输入结束。之后N 行,每行有2 个浮点数x_i,y_i 表示第i 个点的坐标。(1<=N<=10000
0,0<=|x_i|,|y_i|<=10^9)
★结果输出:
输出一个浮点数,表示最近点对的距离除以2,保留2 位小数(四舍五入)。
- 2013-12-03 14:57:02下载
- 积分:1
-
Socket programming (TCP)
Socket编程,实现了客户端与服务器端的TCP连接操作。(Socket programming (TCP))
- 2018-08-29 16:17:37下载
- 积分:1
-
UKF
针对非线性传递函数一种滤波和估计的新方法 (A New Method for the Nonlinear Transformation of Means and Covariances in Filters and Estimators )
- 2011-01-22 19:22:48下载
- 积分:1
-
stm15w408s
一种智能空气净化器控制程序,主控单片机是STM15w408S ,内置智能云系统。(this is STM8 15W408s)
- 2016-12-29 13:02:50下载
- 积分:1
-
oeerationMatrix
矩阵运算类:矩阵的数学运算, 矩阵特征值特征向量的求取(Matrix operations: the mathematical operation of a matrix, the extraction of eigenvalue eigenvector of a matrix)
- 2018-11-10 21:10:41下载
- 积分:1
-
Huber稳健估计
鲁棒估计中的Huber估计,带有界面,可视化好,C#源码(Huber estimation in robust estimation, C# source code)
- 2020-06-21 16:40:01下载
- 积分:1
-
7Z压缩文件的 解压缩例子源码
7Z压缩解压缩.zip
- 2016-10-25下载
- 积分:1
-
ping_sourceCode
说明: PING程序源码有记录路由功能,希望对你们有帮助(PING record procedures source routing function, and I hope to help you)
- 2006-04-01 01:06:07下载
- 积分:1
-
eg7_IndependentProject_EXINT
说明: DSP28335芯片TI官方提供EXINT例程(case codes about EXINT of DSP28335)
- 2020-06-22 20:00:01下载
- 积分:1
-
verticle-handoff
垂直切换的matlab仿真。有仿真结果分析,程序还未调试,还有待完善。(Matlab simulation of vertical handover. Analysis of simulation results, the program has not yet debugging, yet to be perfected.)
- 2013-05-16 15:05:43下载
- 积分:1