-
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
-
program
程序包中含有Lagrange插值、Newton插值、Hermite插值、jacobi迭代、gauss迭代、 超松弛迭代、cholesky分解(Package contains Lagrange interpolation, Newton interpolation, Hermite interpolation, jacobi iteration, gauss iteration, ultra-relaxation iteration, cholesky decomposition)
- 2008-12-17 20:18:47下载
- 积分:1
-
14771767修正剑桥模型的源程序(FORTRAN编写)
说明: 用于abaqus二次开发材料VUMAT,为初级学者找到更简单的方法(Materials for ABAQUS secondary development)
- 2021-04-21 22:38:49下载
- 积分:1
-
BladedDLLInterface
This source file contains example PitchCntrl(), UserHSSBr(),
! UserVSCont(), and UserYawCont() routines that are used to interface
! FAST with a master controller implemented as a dynamic-link-library
! (DLL) in the style of Garrad Hassan s Bladed wind turbine software
! package. All four routines call routine BladedDLLInterface(), which
! contains a call to the Bladed-style DLL that evaluates as DISCON().
! Routine BladedDLLInterface() USEs a MODULE named
! BladedDLLParameters(), which stores values of PARAMETER constants
! used in the interface.
- 2013-09-05 03:49:38下载
- 积分:1
-
55875587Calculator
MFC做的计算器程序,可以实现加减乘除。平方,立方等功能(MFC to do calculator program can be achieved subtraction multiplication and division. Square, cubic and other functions)
- 2009-12-12 22:24:25下载
- 积分:1
-
fractional-order-chen-system
分数阶chen系统仿真 在matlab中运行,可实现分数阶chen系统的混沌模型( simulation of fractional order chen system , simulation of fractional order chen system )
- 2012-06-16 12:32:51下载
- 积分:1
-
faojou
PLS部分最小二乘工具箱,数值分析的EULER法,matlab编写的元胞自动机。( PLS PLS toolbox, EULER numerical analysis method, matlab prepared cellular automata.)
- 2016-05-12 12:39:07下载
- 积分:1
-
fangzhen1_ls
QR方法是一种变换方法,是计算一般矩阵(中小型矩阵)全部特征值问题的最有效方法之一.(QR method is a transformation method is the calculation of the general matrix (small and medium-sized matrix) eigenvalue problem for all of the most effective methods.)
- 2008-05-16 02:09:04下载
- 积分:1
-
wavelet
采用Verilog语言,实现db8小波分解(Realizing wavelet decomposition)
- 2021-04-02 17:09:07下载
- 积分:1
-
APdL-ANSYS
说明: APdL参数化有限元分析技术及其应用实例(APdL parameterized finite element analysis techniques and its application)
- 2011-04-14 09:37:44下载
- 积分:1