-
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
-
stagger
二维交错网格SIMPLE算法fortran计算程序,包括主程序和用户定义程序。(The two-dimensional to SIMPLE algorithm the fortran calculation procedures staggered grid, including the main program and the user-defined procedures.)
- 2021-01-26 15:38:36下载
- 积分:1
-
uystn
这是在MATLAB上的SIMULINK中实现的雷达系统仿真实例,用户可以自己设定目标距离,方向等参数,(This is an example of radar system simulation implemented in SIMULINK on MATLAB. The user can set the target distance, direction and other parameters by himself.)
- 2018-11-15 17:27:38下载
- 积分:1
-
096172
应用方便的OrbMath数学运算库,适用于多种语言()
- 2018-04-05 16:13:55下载
- 积分:1
-
8.14 系泊系统 工程分析
系泊系统设计相关代码,一个一个自己敲出来的哦(Mooring system design code)
- 2017-08-18 11:20:31下载
- 积分:1
-
Ch10
说明: 一个用于液体受热蒸发的UDF。压缩包中包含fluent网格文件,可直接进行联系。(An UDF used for heated evaporation.)
- 2020-02-25 10:18:35下载
- 积分:1
-
cam
凸轮的程序,很好,可以随更改,可以随便变化凸轮的结构。(Cam program, well, you can with the changes, you can easily change the structure of the cam.)
- 2021-01-23 21:48:39下载
- 积分:1
-
udf_dpm_tongji
fluent多相流DPM模型中使用用户自定义函数对颗粒进行统计(DPM fluent multiphase flow model using user-defined functions for particle statistics)
- 2020-12-06 21:09:21下载
- 积分:1
-
mainunstructure
非结构网格有限体积法求解二维欧拉方程程序,区别于结构网格(The unstructured grid finite volume method to solve two-dimensional Euler equation )
- 2021-03-11 11:59:26下载
- 积分:1
-
case5
matpower2机5节点程序进行潮流计算(matpower2 Machine 5 node program)
- 2013-03-22 14:25:47下载
- 积分:1