登录
首页 » C++ » 5

5

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

  • juzhen-yunsuan
    vc++实现的矩阵运算方面得代码,很不错的,内容绝对好吃(matrix operations, code vc++ achieve very good, the content is absolutely delicious)
    2012-08-12 22:06:39下载
    积分:1
  • 银行家法C++Builder
    用C++Builder实现的银行家算法可以任意 输入进程个数各类资源的个数输出安全序列(with C++ Builder bankers algorithm can process arbitrary importation of all types of resources the number of security Sequence Number output)
    2005-03-31 10:27:18下载
    积分:1
  • conc1
    说明:  用于求解耦合速率方程的四阶龙格-库塔数值解法(4th order Runge-kutta methods for solving the coupled rate equations)
    2011-04-15 12:45:30下载
    积分:1
  • FDTD_computational_electromagnetics
    很有用的一篇国外关于FDTD算法的学术论文,相信对初学者有很大帮助(Useful in a foreign academic papers on the FDTD method, I believe very helpful for beginners)
    2010-05-24 23:50:03下载
    积分: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
  • TDMAsolver.f90
    TDMA solver for tridiagonal matrix
    2010-09-15 10:54:16下载
    积分:1
  • Finite_element_tri
    有限元法求解泊松方程,用matlab编写的计算程序(Finite element method for solving Poisson)
    2008-05-22 15:52:07下载
    积分:1
  • fft
    用C++编写的一维和二维快速傅里叶变换程序(Prepared with C++ one-dimensional and two-dimensional fast Fourier transform procedure)
    2013-11-04 16:19:50下载
    积分:1
  • 牛顿法解混沌
    说明:  一个用C语言编写的求混沌序列的源程序,挺好的!(a C language for the chaotic sequence of the source, very good!)
    2005-10-25 09:34:33下载
    积分:1
  • xconv2
    频域二维卷积算法,通过在频域用fft计算,加速了卷积的实现过程(Frequency domain of two-dimensional convolution algorithm, by calculating the frequency domain using fft and accelerate the realization of the convolution process)
    2020-11-20 19:59:37下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载