-
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
-
usub-TEE-ECM
弹性补偿法的程序,在abaqus中进行二次开发,可以计算各种结构的极限载荷。(The elastic compensation method of the procedure, carries on two times of developments in ABAQUS, can be used to calculate the limit load of various structures.
)
- 2013-08-27 21:49:31下载
- 积分:1
-
integral
说明: 积分公式(用锲比雪夫多项式构造积分点公式)(integral formula(using the Cheb. polynomial integral point) )
- 2010-04-02 23:46:17下载
- 积分:1
-
umat_temp
用ABAQUS及其子程序解决热冲压热力耦合问题(Subroutine with ABAQUS and hot stamping coupled thermal problem solving)
- 2020-09-14 14:27:57下载
- 积分:1
-
box-girder-finite-element
介绍箱梁的有限元建模 网格划分 边界条件 加载 求解的命令流(Introduction of finite element modeling of the box girder meshing load boundary conditions for solving the command stream)
- 2013-04-18 15:16:26下载
- 积分:1
-
MM1
用C++实现排队论中M/M/1模型。简单方便。(Using C++ implementation in the M/M/1 queuing theory model. Easy and convenient.)
- 2020-11-16 13:39:41下载
- 积分:1
-
udf-RPE
fluent 改进的全空化模型,针对可压缩流,内有声速处理(fluent improved full cavitation model for compressible flow, there are the speed of sound processing)
- 2021-03-02 16:59:33下载
- 积分:1
-
nscat-3.tar
用以计算nscat地球物理模型函数的程序!(This is a program for calculating the nscat geophysical model.)
- 2020-11-07 17:19:49下载
- 积分:1
-
support
转子动力学研究中完整的支承松动数值仿真程序(Rotor dynamics study supports the complete relaxation of numerical simulation program)
- 2021-02-17 16:39:46下载
- 积分:1
-
Caipiao
新的彩票预测抄来的!真的是抄来的!真的真的真真的!(The new lottery prediction copy to Really copied! Really, really Barbara!)
- 2012-07-29 16:12:47下载
- 积分:1