-
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
-
temperature
用于ABAQUS计算,描述复合材料温度场变化的程序(describing changes in the temperature field of composite materials with ABAQUS)
- 2018-06-28 16:49:21下载
- 积分:1
-
jMetalPy-master-python
用Python语言写的多目标进化算法库(2017年最新版本),包含常见的多目标进化算法以及当前最新文献中的最新算法,能够实现不同算法之间的性能比较(包含常见的GD, IGD, HV等评价指标自动生成)。可以供进化计算、多目标优化、单目标优化算法的学习参考。Python语言版本简单易懂,实用性强。(Library of multi-objective evolutionary algorithm written in Python language (the latest version in 2017), including multi-objective evolutionary algorithm and the most common new literature in the new algorithm, can realize the performance between different methods (including the common GD, IGD, HV and other evaluation index generation). It can be used as a reference for evolutionary computation, multi-objective optimization and single objective optimization. Python language version is simple and easy to understand, practical.)
- 2020-10-06 19:37:37下载
- 积分:1
-
opflatestedition
基于内点法的最优潮流计算,跟踪中心轨迹内点法最优潮流程序 实现了有功损耗最小的经济分配。(Optimal power flow calculation based on interior point method, the point-of-flight optimal power flow program in the tracking center trajectory achieves the economic distribution with the least active loss.)
- 2020-12-22 21:59:06下载
- 积分:1
-
circfit
基于最小二乘估计的圆心拟合,可计算出圆心坐标及半径(Estimates based on least squares fitting of the center of a circle, calculate the center coordinates and radius)
- 2008-05-09 08:58:26下载
- 积分:1
-
beijou_v28
FMCW调频连续波雷达的测距测角,窗函数法设计一个数字带通FIR滤波器,详细画出了时域和频域的相关图。( FMCW frequency modulated continuous wave radar range and angula)
- 2016-09-14 13:46:53下载
- 积分:1
-
kalman
这是宇航学报的关于 基于卡尔曼滤波的盲多用户检测的文章 希望对大家有所帮助(This is the space of Kalman filter based on blind multiuser detection of articles want to help you)
- 2010-05-13 10:35:52下载
- 积分:1
-
lsq
打靶法求微分方程边值问题,这是数学上的求取方程问题的边值的方法
(Shooting method for boundary value problems for differential equations, which is to strike a mathematical equation of the boundary value problem approach)
- 2008-05-22 19:46:32下载
- 积分:1
-
创意折叠桌
2015年全国大学生数学建模比赛创意折叠桌,利用Mathematica实现(2015 National Undergraduate Mathematical Modeling Competition creative folding table, using Mathematica to achieve)
- 2018-05-13 15:57:48下载
- 积分:1
-
jvzhenlianxi
实现构建矩阵,矩阵的相加,相减,清零,以及转置,还有相乘的功能。(To build matrix, the matrix addition, subtraction, reset, and transposed, and the function of the multiplication.
)
- 2012-08-22 09:29:57下载
- 积分:1