-
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
-
Frequency_field_extend
重力频率域位场延拓。将观测面的位场数据(a20_mag.gtd)向上延拓3.3m,之后与已知的理论值(a53_mag.grd)进行比较,计算其均方误差;反之,将观测面的位场数据(a53_mag.grd)向下延拓3.3m,之后与已知的理论值(a20_mag.grd)进行比较,计算其均方误差。(gravity frequency field extend)
- 2011-12-15 22:27:07下载
- 积分:1
-
C
说明: 含随机出题(四则运算)及其迭代程序、返回数组中最大子数组和及其迭代程序等。(Software class operations, including four operations and iterative procedure, returns an array of sub-arrays and the largest and Iterative procedures)
- 2016-07-01 08:32:22下载
- 积分:1
-
theSecond
这个程序分别用二分法,Newton法,弦截法,Newton下山法等算法求解非线性方程(this procedure were used dichotomy, Newton, String interception, Newton downhill law for solving nonlinear equations)
- 2006-10-18 11:01:49下载
- 积分:1
-
PMFFTaddF
PMF FFT捕获技术捕获性能仿真,并与改进的捕获技术捕获性能比较(FFT PMF capture technology capture performance simulation, and capture performance comparison with the improved capture technology)
- 2015-06-17 14:27:53下载
- 积分:1
-
UMAT-Example
一个drucker prager模型的 的用户子程序,用于求解平面应变问题 abaqus UMAT and inp(drucker prager yield model for abaqus )
- 2021-03-10 10:29:26下载
- 积分:1
-
source
线弹性模型,可以对一般的弹性体通过abaqus进行验证使用(Linear elastic model)
- 2013-11-18 10:33:29下载
- 积分:1
-
Finite element mesh generation
全面介绍有限元网格生成算法的英文教材,可以作为网格生成算法的编程资料(finite element mesh generation has not been taken as a formal subject of teaching in universities,as it encompasses several disciplines including classical geometry, computational geometry and topology, finite element method, data structures and algorithms, computer programming and, to a certain extent, even computer graphics.)
- 2018-01-29 10:55:18下载
- 积分:1
-
Monta-carlo
计算机模拟和蒙特卡洛方法,文件格式为pdg,主要介绍随机模拟方法(Computer Simulation and the Monte Carlo method, file format pdg, stochastic simulation method introduced)
- 2011-04-28 10:27:56下载
- 积分:1
-
mp2_0
最优潮流计算程序(使用电力系统专业,属于非线性规划问题).(optimal power flow calculation procedure (using power systems professional, is Nonlinear Programming).)
- 2005-05-26 11:38:17下载
- 积分:1