登录
首页 » C++ » 5

5

于 2013-12-03 发布 文件大小:1KB
0 235
下载积分: 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 个回复

  • UDF_03_Files
    说明:  用C语言编写的Fluent UDF实例,包含Adjust宏,profile宏等八个实例教程,快速上手(The UDF is for computational fluid dynamics software Fluent, it concludes the Profile.c,the Adjust.c)
    2019-05-11 00:02:23下载
    积分:1
  • MGS
    本程序是用MGS正交化方法求方程组的最小二乘解的程序(This program is the program of MGS orthogonalization method and the least squares solution of equations)
    2012-03-26 15:26:16下载
    积分:1
  • orderGaussian
    解线性代数方程组的顺序高斯消去法。使用c++标准库的vector实现。(Solution of linear algebraic equations order Gaussian elimination. Use c++ standard library vector implementation.)
    2014-05-23 21:11:06下载
    积分:1
  • 4block
    2D single bin packing 问题的4Block算法(4-Block Algorithm for 2D single bin packing Problem)
    2009-04-07 14:26:16下载
    积分:1
  • tube-charge-pressure-established
    管型燃烧固体火箭发动机压强建立过程计算程序 输入为比热比,燃气气体常数,点火温度,推进剂密度,装药直径(内径和外径),喷管喉部直径,装药体积,燃速相关常数 输出为压强和工作时间(tube type of solid rocket motor combustion pressure build process calculation programs for heat input than, gas gas constant, the ignition temperature, propellant density, charging diameter (inside and outside), nozzle throat diameter, charging volume, burning rate pressure and related constant output to work time )
    2011-12-26 17:00:19下载
    积分:1
  • Simplex method for linear programming
    线性规划中的单纯形法的c实现,代码有测试类,(Simplex method for linear programming)
    2017-08-25 11:03:43下载
    积分:1
  • jisaunerchongjifen
    求解任意区域上的二元函数的二重积分,功能强大实用方便!(Solving binary function on any area of ​ ​ the double integral, powerful practical and convenient!)
    2013-06-06 10:32:44下载
    积分:1
  • line
    线阵天线方向图的画法 可改参量 实现不同参量下的方向图(The Drawing of Line Antenna Pattern)
    2017-09-26 15:53:31下载
    积分:1
  • RN8302_FFT_Harmonic
    电力芯片RN8302计算高次谐波时的FFT变换算法,最高可实现51次谐波计算。(FFT transform algorithm for power chip RN8302 to calculate the high harmonics, the highest can achieve the 51 harmonic calculation.)
    2021-01-31 21:50:08下载
    积分:1
  • first_order_differ---solve
    使用四阶Runge-Kutta算法解决两个一阶微分方程组,并输出到文件。(solve a two cupled first order differential equations)
    2017-04-12 11:03:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载