登录
首页 » C++ » 5

5

于 2013-12-03 发布 文件大小:1KB
0 117
下载积分: 1 下载次数: 0

代码说明:

说明:   ★问题描述: 给出平面上的N 个二维点,求出距离最小的2 个点对。本题中距离定义为他们的直 线距离。例如(0,0) (3,4)的距离为5. ★数据输入: 有多组数据,对于每组数据,第一行是一个数字N 表示点的个数。N=0 的时候说明 输入结束。之后N 行,每行有2 个浮点数x_i,y_i 表示第i 个点的坐标。(1

文件列表:

5.cpp,3305,2013-12-03

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • coding
    浸入边界法(Immersed Boundary Method)的一个示例程序。包括说明文档。(A code using the IBM (Immersed Boundary Method ) . And the help documention is included .)
    2016-12-04 10:50:36下载
    积分:1
  • kriging
    包括基本的克里金(Kriging)插值法实现代码,仅实现基本方法部分,不包含扩展克里金方法( kriging uses ordinary kriging to interpolate a variable z measured at locations with the coordinates x and y at unsampled locations xi, yi. The function requires the variable vstruct that contains all necessary information on the variogram. vstruct is the forth output argument of the function variogramfit. This is a rudimentary, but easy to use function to perform a simple kriging interpolation. I call it rudimentary since it always includes ALL observations to estimate values at unsampled locations. This may not be necessary when sample locations are not within the autocorrelation range but would require something like a k nearest neighbor search algorithm or something similar. Thus, the algorithms works best for relatively small numbers of observations (100-500). For larger numbers of observations I recommend the use of GSTAT. Note that kriging fails if there are two or more observa)
    2015-01-08 15:43:50下载
    积分:1
  • shuang-tuo-qiu-re-yuan
    fluent软件的UDF程序,是焊接过程的热源,热源类型为双椭球空间热源。(fluent udf heat source)
    2020-10-13 00:07:32下载
    积分:1
  • RLFWD01
    经过修改杨成林的《瑞雷波勘探》附录得到的瑞雷面波一维频散曲线(Yang Chenglin modified Rayleigh wave of " Rayleigh wave exploration in" Appendix obtain one-dimensional dispersion curves)
    2020-09-13 09:47:59下载
    积分:1
  • haar-fft
    本程序求相关性K值大小,采用傅里叶矩阵和haar矩阵内积。(The procedures for seeking the size of the K value of the correlation, the use of the Fourier matrix and haar matrix of inner product.)
    2012-06-19 11:24:56下载
    积分:1
  • Time-series-analysis-CC-algorithm
    时间序列的相空间重构延迟时间和嵌入维数的CC算法(Time series analysis CC algorithm for delay time and embedding dimension)
    2012-06-18 14:50:06下载
    积分:1
  • damping-ratio-for-silk-and-sand
    粉土的阻尼比拟合程序。拟合模型选择Davidenkov模型。(The silt damping match the proper procedure. The Fitting Model Davidenkov model.)
    2013-05-11 12:01:13下载
    积分:1
  • wn037
    用蒙特卡洛模拟的方法计算美式期权的价格以及基本描述,实现了图像的加水印,去噪,加噪声等功能,包括最小二乘法、SVM、神经网络、1_k近邻法。( Monte Carlo simulation method of calculating the American option price and basic description, Realize image watermarking, de-noising, plus noise and other functions, Including the least squares method, the SVM, neural networks, 1 _k neighbor method.)
    2017-04-05 19:56:22下载
    积分:1
  • lsmd
    最小二乘递推算法及其matlab实现(计算估计值)(least squares method)
    2021-03-03 11:09:33下载
    积分:1
  • algorithms(CPP)
    计算机常用数值算法与程序(C++版) (Commonly used numerical algorithm of computer and program )
    2014-01-04 22:46:59下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载