登录
首页 » C++ » 5

5

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

代码说明:

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

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

发表评论

0 个回复

  • averageData
    读取csv文件的数据,按要求拉算出平均数(Read csv file data, calculate the average number required to pull)
    2020-08-14 14:58:35下载
    积分:1
  • Untitled
    由Music算法估计线阵波达方向,搜索频谱波峰。(Estimation of linear array DOA by Music algorithm, searching spectral peak.)
    2013-10-25 14:37:33下载
    积分:1
  • mk
    说明:  常用于分析降水、径流、气温等要素时间序列的趋势变化,其优点在于样本不需要遵循某一特定的分布,而且很少受到异常值的的干扰,计算简便。(It is often used to analyze the trend change of time series of factors such as precipitation, runoff and air temperature. Its advantage is that the sample does not need to follow a specific distribution, and is rarely disturbed by outliers, so it is easy to calculate.)
    2018-09-07 21:26:05下载
    积分:1
  • opimize-code
    设计迭代、有限差分法、有限元的matlab优化计算程序(Matlab design iterations, finite difference method, finite element calculation program optimization)
    2021-04-08 15:59:00下载
    积分:1
  • PM-DOAandL-2-DOA
    传播算子DOA估计算法和基于增广矩阵束的L型阵列的二维DOA估计MATLAB程序(Propagator DOA estimation algorithm based on the L-shaped array augmented matrix beam D DOA estimation MATLAB program)
    2013-05-01 21:56:26下载
    积分:1
  • czn_fmow
    基于P-Q分解法的快速潮流计算,可用于实际系统(The fast power flow calculation based on P-Q decomposition method can be used in practical system.)
    2018-11-19 11:14:24下载
    积分:1
  • 三点求圆心
    说明:  通过三个点坐标,求出圆心坐标。C#代码,主要是算法。(Through the coordinates of three points, the coordinates of the center of the circle are obtained.)
    2020-07-24 07:07:27下载
    积分:1
  • 值分析实验
    数值分析实验1.明确插值多项式和分段插值多项式各自的优缺点; 编程实现拉格朗日插值算法,分析实验结果体会高次插值产生的龙格现象;(Experiments of numerical analysis 1. Define the advantages and disadvantages of interpolation polynomials and piecewise interpolation polynomials. The Lagrange interpolation algorithm is programmed, and the Runge phenomenon produced by high-order interpolation is analyzed.)
    2019-04-30 22:30:36下载
    积分:1
  • gauss
    本程序实现利用高斯全选主元法解矩阵方程,即高斯-约旦法解方程(This program Gaussian Select the primary element method for solving matrix equation, that Gauss- Jordan method of solving equations)
    2012-10-08 09:16:36下载
    积分:1
  • LinearKinematicHardPlasticStepByStep
    说明:  基于mises屈服准则的随动强化模型的umat子程序(Follow up reinforcement UMAT)
    2020-03-30 15:15:30下载
    积分:1
  • 696518资源总数
  • 105554会员总数
  • 2今日下载