-
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
-
0097
高斯正算坐标程序计算高斯投影的正算问题克拉索夫斯基椭球(Gaussian count is calculated coordinates of the Gaussian projection is counting police used batons for dispersing ellipsoid)
- 2005-03-19 09:55:21下载
- 积分:1
-
minimal-path-sets
可靠性-最小路集-编程
计算图的最小路集,是装备可靠性课程的一个作业。(Reliability- minimal path sets- programming calculation of minimal path sets, equipment reliability courses a job.)
- 2013-03-12 19:02:53下载
- 积分:1
-
Gaussin-Curve-Fitting-with-C
采用最小二乘方法的高斯曲线拟合算法, 用C 语言编写. 包含子程序.(Gaussian Curving Fitting with C language)
- 2021-04-14 18:18:55下载
- 积分:1
-
nei-ba43
外文资料里面的源代码,使用高阶累积量对MPSK信号进行调制识别,wolf 方法计算李雅普诺夫指数。( Foreign materials inside the source code, Using high-order cumulants of MPSK signal modulation recognition, wolf calculated Lyapunov exponent.)
- 2017-04-02 13:14:54下载
- 积分:1
-
FDTD for optical waveguides.rar
本程序是采用FDTD算法结合PML吸收边界,对对称三层平板光波导的模式场仿真(This program uses FDTD algorithm and PML absorbing boundary to simulate the mode field of symmetrical three-layer planar optical waveguide.)
- 2020-09-10 16:08:00下载
- 积分:1
-
numpy-dev
这是python一个数学计算库,非常有用,而且python在处理科学计算时经常会用到它(This is a mathematical calculation python library is very useful, but when dealing with scientific computing python often use it)
- 2015-03-20 16:13:31下载
- 积分:1
-
CFD
这是一个求解NACA0012翼型在不同马赫数与攻角下的流场的Fortran源代码。计算格式采用了原始AUSM、AUSMDV以及AUSM+格式。为了提高计算精度,使用了不同限制器的MUSCL插值。(This is a Fortran source code for solving the flow field around the NACA0012 airfoil at different Mach numbers and angles of attack. The scheme of AUSM, AUSMDV and AUSM+ are employed for this code. In order to improve the calculation accuracy, the MUSCL interpolation with various type limiter are used.)
- 2014-04-09 13:39:33下载
- 积分:1
-
Q_factor_calcualtor
利用Matlab计算quality factor. 输入是谐振波谱的数据,输出为:谐振频率,谐振幅度和quality factor。(Matlab coding. Calculate quality factor of resonator based on transmission spectrum data.)
- 2020-06-29 19:40:02下载
- 积分:1
-
Least-squares-linear
可进行最小二乘法线性拟合输出,包含源代码及生成后的程序(Least-squares linear fit can be output)
- 2013-10-24 14:21:45下载
- 积分:1