登录
首页 » C++ » 5

5

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

代码说明:

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

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

发表评论

0 个回复

  • berth_quay10_8
    用于解决港口优化调度的算例,程序可解,且富有详细说明(The optimal scheduling algorithm used to solve the port, the program is solvable, and rich detailed instructions)
    2020-07-02 20:20:02下载
    积分: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
  • AGJDN
    压缩包包含三个文件: 全主元高斯-约当消元法程序AGJDN.m;基于全主元高斯-约当消元法的迭代求解病态矩阵方法AGJDNM.m;AGJDN.m的测试方程。 程序参考自:Fortran常用算法程序集(第二版) 徐世良编。AGJDN.m能求解部分病态矩阵,而AGJDNM.m对于我的测试矩阵效果不佳,但也一并上传,仅供参考。 错漏之处,还望指正。 (Gaussian-Jordan elimination base on all principal element.)
    2014-12-09 15:22:12下载
    积分:1
  • Kalman3
    卡尔曼滤波程序,完成一维数据卡尔曼数据滤波(Kalman filtering process, the completion of one-dimensional data Kalman filter data)
    2009-01-09 20:01:18下载
    积分:1
  • calte-QT
    QT编写功能及界面,实现功能:加、减、乘、除、连加、连减、连乘、连除、加减乘除混合运算、除零报错等功能,代码简单清晰,适用于刚刚接触QT的人(QT write functions and interface functionality: add, subtract, multiply, divide, even increase, even less, and even multiply, even in addition, subtraction, multiplication and division mixed operations, in addition to the zero error function, the code is simple and clear, suitable for just contact The QT)
    2013-01-11 10:26:50下载
    积分:1
  • FiniteElementMethod
    有限元方法与C程序设计 介绍有限元方法原理和如何设计C程序,书后有相关代码。(Finite element method with the C programming)
    2010-01-01 16:10:54下载
    积分:1
  • 19864062MatrixOper
    对于协方差矩阵的一种计算方法,对于地震中的反演约束算法能起到很好的作用。(For a kind of covariance matrix calculation method)
    2011-05-30 13:43:06下载
    积分:1
  • newton
    数值分析的牛顿法,是用C编写的,希望大家互相参考!!1(Pleiades值tub cavity Xu Yang Lai Hey, Did using C met写cavity, submerged mode希望deceive gaze intently EC banana!! 1)
    2008-05-14 13:25:28下载
    积分:1
  • SPH3DOnTheBook
    Dr. Liu 在《光滑粒子流体动力学--一种无网格方法》一书中提供的光滑粒子流体动力学(SPH)源程序,采用Fortran语言编写,用于计算可压缩流体力学问题。(Dr. Liu in the " Smooth Particle Hydrodynamics- a meshless method," a book provided by the smooth particle hydrodynamics (SPH) source code, using Fortran language, used to calculate the fluid flow problem.)
    2021-01-08 11:58:51下载
    积分:1
  • udf_dpm_tongji
    fluent多相流DPM模型中使用用户自定义函数对颗粒进行统计(DPM fluent multiphase flow model using user-defined functions for particle statistics)
    2020-12-06 21:09:21下载
    积分:1
  • 696518资源总数
  • 106265会员总数
  • 10今日下载