-
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
-
统计学习方法李航
说明: 统计学习经典教材,面试必备,详细介绍支持向量机、Boosting、最大熵、条件随机场等十个统计学习方法。(Classic textbooks for statistical study are essential for interviews)
- 2020-06-21 11:20:02下载
- 积分:1
-
mabExpress_src
任意数学表达式计算的源码及测试软件
(Calculation of arbitrary mathematical expression of the source code and test software)
- 2009-04-12 22:26:39下载
- 积分:1
-
连续体和结构的非线性有限元
说明: finite element theory
- 2020-03-29 10:47:02下载
- 积分:1
-
Array-1-dimensi(prak-7)
program array 1 dimensi
- 2012-11-26 08:31:23下载
- 积分:1
-
nihe
最小二乘法拟合进行n次多项式拟合,N用来控制拟合的次数,例如N=5时进行4次多项式拟合,还回的是拟合系数(Least squares fit polynomial n times, N is used to fit the number of control, e.g., N = 5 When quartic polynomial fitting, further back are fitting coefficients)
- 2021-02-14 15:39:49下载
- 积分:1
-
数值分析(超清晰版)
说明: 本书是为理工科大学各专业普遍开设的“数值分析”课程编写的教材 . 其内容包括插值与逼近 ,数值微分与数值积分 , 非线性方程与线性方程组的数值解法 , 矩阵的特征值与特征向量计算 , 常微分方程数值解法 . 每章附有习题并在书末有部分答案 ,书末还附有计算实习题和并行算法简介 . 全书阐述严谨, 脉络分明 ,深入浅出 ,便于教学 .(This book is a textbook for the course of "numerical analysis" which is widely offered in various majors of universities of science and engineering. Its contents include interpolation and approximation, numerical differentiation and numerical integration, numerical solution of non-linear and linear equations, calculation of eigenvalues and eigenvectors of matrices, numerical solution of ordinary differential equations. At the end of the book, there are some answers. At the end of the book, there are also a brief introduction of computational practice questions and parallel algorithms. The whole book elaborates rigorously, clearly, thoroughly and shallowly, which is convenient for teaching.)
- 2019-07-01 12:51:46下载
- 积分:1
-
emd
c语言程序编写在经验模态分解,包含三次样条(c language programming in the empirical mode decomposition, contains the cubic spline)
- 2021-02-03 01:10:00下载
- 积分:1
-
MRT lid driven cavity
基于多松弛因子的LB方法,运用C++编写方腔顶盖驱动流,计算方腔内流体的流场(Based on the LB method with multiple relaxation factors, the flow field of the square cavity top cover is written by C++, and the flow field of the fluid in the square cavity is calculated)
- 2021-04-13 14:48:56下载
- 积分:1
-
srfft
计算复序列的分裂基快速傅里叶变换,分裂基快速算法是将基2和基4分解组合而成。在基2M类快速算法中,分裂基算法具有最少的运算量,且仍保留结构规则、原位计算等优点。(Calculate complex sequence of split radix fast Fourier transform, fast algorithm is to split the base base 2 and base 4 decomposition combination. 2M fast algorithm in the base class, the split-based algorithm has the least amount of computation and structural rules remain in situ calculation and so on.)
- 2013-05-23 19:56:04下载
- 积分:1