登录
首页 » C++ » 5

5

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

代码说明:

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

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

发表评论

0 个回复

  • 7ef682d55cf0社会力模型
    行人群体疏散仿真的社会力模型,可用于做系统仿真(Social force model for pedestrian evacuation)
    2021-03-19 16:59:19下载
    积分:1
  • yxtjfqiujie
    求解雷诺方程有有限元法、有限差分法、有限体积法,本程序就是采用有限体积法对雷诺方程进行求解。(Solving Reynolds equation has finite element method, finite difference method, finite volume method, the program is the use of finite volume method to solve the Reynolds equation.)
    2016-01-12 21:46:55下载
    积分:1
  • FDTDMATLAB
    1维等离子体FDTD的Matlab的两种方法(One-dimensional FDTD plasma of the two methods of Matlab)
    2020-09-22 20:57:52下载
    积分:1
  • 实现UTM平面坐标系到经纬度的双向转换 CoordinateConversion
    实现UTM平面坐标系到经纬度的双向转换,是地理方面应用的好助手(UTM plane coordinate system to achieve two-way conversion of latitude and longitude, is a good helper geographic applications)
    2014-10-23 09:43:25下载
    积分:1
  • niugun
    正确率可以达到98%,抑制载波型差分相位调制,数据包传送源码程序。( Accuracy can reach 98 , Suppressed carrier type differential phase modulation, Data packet transfer source program.)
    2020-06-29 10:40:02下载
    积分:1
  • fit_line
    //最小二乘法直线拟合 m_FoldList为关键点(x,y)的链表 拟合直线方程(Y=kX+b) (//linear least squares fitting m_FoldList as the key point (x, y) of Chain fitting linear equation (Y = C/56 b))
    2005-08-24 04:40:23下载
    积分:1
  • COMSOL在岩石损伤过程的应用
    岩石损伤与断裂力学一直是有限元的弱势领域,必须依赖MATLAB一类的数学软件协助,本书籍提供了基础教程与相关案例。(Rock damage and fracture mechanics have been the weak field of finite element, must rely on MATLAB class of mathematical software to help, this book provides basic tutorials and related cases.)
    2021-04-06 16:19:02下载
    积分:1
  • rates
    基于CPLEX半连续变量求解发电机组单时段经济调度问题,给定负荷需求,求每台发电机输出P=0或Pmin<=P<=Pmax,使发电成本最小。(Semi-continuous variable based on CPLEX to solve a single period of economic generator scheduling problem, given the load demand, seeking each generator output P = 0 or Pmin <= P <= Pmax, the minimum cost of power generation.)
    2011-07-04 22:16:33下载
    积分:1
  • yiyuanerci2
    说明:  用Fortran编程求解简单的一元二次方程案例(Solving quadratic equation of one variable)
    2020-06-16 12:28:32下载
    积分:1
  • 71001
    基于全相位谱分析的相位差频谱校正法,结合了全相位FFT与传统FFT谱分析法。(Phase Difference Correcting Spectrum Method)
    2009-05-19 21:40:09下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载