登录
首页 » C++ » 5

5

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

  • LinearKinematicHardPlasticStepByStep
    说明:  基于mises屈服准则的随动强化模型的umat子程序(Follow up reinforcement UMAT)
    2020-03-30 15:15:30下载
    积分:1
  • fsolve-function-nonlinear-equations
    fsolve函数求非线性方程组数值解,已经验证其正确性。(fsolve function for the numerical solution of nonlinear equations)
    2013-08-05 09:25:31下载
    积分:1
  • BA_ScaleFree
    一个自己写的,生成BA无标度网络并计算其度分布的程序,fortran77格式,并附图一张,数据一份。(A program written myself, which can generate the BA scale-free networks and calculate the degree distribution , fortran77 format attachment is a drawing and data.)
    2009-11-30 19:56:04下载
    积分:1
  • MAPLE-Introduction
    介绍MAPLE使用方法的书籍。网上关于maple的指导书很少,这个是不错的了。对初学者来说可以迅速上手,我当时就是因为临时需要才学的,边学边用,很快就上手了。(An introductory book of MAPLE, published in 2007. Easy to understand and use. Suitable for beginners and amateurs.)
    2012-03-07 18:16:24下载
    积分: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
  • Floating-point-complex-radix-2-decimation-in-time-
    浮点复数基2时分FFT完成适当的FFT,输出改写输入缓冲器。(floating-point complex FFT-based two hours to complete the FFT output rewritten input buffer.)
    2006-08-07 14:19:25下载
    积分:1
  • ai463
    用蒙特卡洛模拟的方法计算美式期权的价格以及基本描述,能量熵的计算,sar图像去噪的几种新的方法。( Monte Carlo simulation method of calculating the American option price and basic description, Energy entropy calculation, Several new methods sar image denoising.)
    2017-05-05 20:24:01下载
    积分:1
  • feature parameters extracting_amplitude domain
    说明:  同时求取不同信号的多个时域特征参数,可以随意更换待分析信号(Multiple time domain characteristic parameters of different signals are obtained at the same time.)
    2021-02-06 00:28:02下载
    积分:1
  • pcmain
    利用labiew主程序实现单片机与主机的串口通信,实现温度的采集,然后通过比例积分算法的控制,输出一定占空比的波形驱动电机,实现恒温水箱的控制系统(MCU and host serial communication labiew main program, to achieve the acquisition of temperature, and then through the control of the proportional integral algorithm, the output of a certain duty cycle waveform drive motor, constant temperature water tank control system)
    2020-12-15 16:09:13下载
    积分:1
  • 新编Marc有限元实例教程
    编程教程,帮助入门学者学习建模,从初级开始,逐步深化,非常有帮助(Programming tutorials, help beginners learn modeling, from the beginning, gradually deepen, very helpful)
    2019-01-14 19:19:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载