登录
首页 » C++ » 5

5

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

  • stance_dff
    采用四阶龙格库塔方法进行微分方程解算,用matlab编写的源代码,主要用于四元素微分方程的实时解算(Using fourth-order Runge-Kutta methods for differential equation solvers, prepared to use matlab source code, mainly for the four elements of real-time differential equation solver)
    2007-10-22 21:02:46下载
    积分:1
  • Expressway-Exit-Data-OD
    提出基于高速公路收费站进出口数据推算OD矩阵的一般方法。在缺乏初始OD矩阵的条件下,结合指数平滑法和无约束重力模型思想,通过VB编程反复迭代进行初始OD矩阵推算 利用组合模型预测高速公路各收费站出入口流量,通过弗雷特法进行OD分布推算。以沪宁高速公路为例证实此方法具有较高的精度。(Proposed highway toll station-based import and export data projections general OD matrix method. Lack of initial OD matrix conditions, combined with the exponential smoothing and unconstrained gravity model of thinking, through the VB Programming iterative initial OD Matrix Estimation flow of the use of a combination of model predictions highway toll station entrances and exits through Fratar Method for OD distribution projections. Shanghai-Nanjing Expressway, for example to confirm that this method has higher accuracy.)
    2013-01-18 11:00:44下载
    积分:1
  • fraction_lyapunov
    计算分数阶微分方程lypunov指数,确定混沌系统的混沌状态。(Calculated fractional differential equations lypunov index to determine the chaotic state of the chaotic system.)
    2012-09-16 10:48:32下载
    积分:1
  • 71001
    基于全相位谱分析的相位差频谱校正法,结合了全相位FFT与传统FFT谱分析法。(Phase Difference Correcting Spectrum Method)
    2009-05-19 21:40:09下载
    积分:1
  • SHUZHIFENXI
    牛顿迭代法,用于求解非线性方程,具体使用方法见程序内部说明。(Newton iteration for solving nonlinear equations, the specific use of the procedure see the internal note.)
    2007-11-05 09:01:46下载
    积分:1
  • BPalgorithm
    belief propagation algrithm
    2009-10-19 10:58:57下载
    积分:1
  • prime_number
    這個程式可以顯示 3~100 的 prime number,很適合新手練習的範例程式,附上源碼可以修改內部細節,多做驗證。()
    2007-09-19 17:10:12下载
    积分:1
  • 基于MATLAB进行标准化降水指SPI程序 spi
    基于MATLAB进行标准化降水指数SPI计算程序,主要用于干旱分级的确定指数。(Standardized precipitation index SPI calculation based on MATLAB program, mainly used to determine the index drought classification.)
    2021-05-14 13:30:02下载
    积分:1
  • kodingan-adov
    AODV code for network
    2015-01-15 18:28:34下载
    积分:1
  • KZK
    求解KZK方程的VISUAL C++源代码 具有计算速度快,计算精度高等优点。(source code solution of KZK equation visual c++)
    2021-05-13 10:30:02下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载