登录
首页 » C++ » 5

5

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

代码说明:

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

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

发表评论

0 个回复

  • LinearKinematicHardPlasticStepByStep
    说明:  基于mises屈服准则的随动强化模型的umat子程序(Follow up reinforcement UMAT)
    2020-03-30 15:15:30下载
    积分:1
  • 材料中用相场法模拟合金凝固相变的程序 1658947 Console6
    计算材料学中用相场法模拟合金凝固相变的程序(Computational Materials Science using phase-field simulation of solidification phase change process)
    2021-01-28 16:38:34下载
    积分:1
  • UGKS-1D
    适合于稀薄流动计算的气体动力学格式源码,该源码为xukun老是JCP论文中的算例一致(UGKS1D- shock structure calculation using Unified Gas-Kinetic Scheme)
    2020-11-13 10:19:43下载
    积分:1
  • hPSO
    hybrid particle swarm optimization
    2016-09-16 22:36:56下载
    积分:1
  • mg
    说明:  迭代算法中的多重网格计算程序Visual C++原代码(iterative algorithm of multiple grid computing procedures Visual C source code)
    2007-03-31 10:11:48下载
    积分:1
  • fun_dis_two_point
    说明:  used to 计算p0点到直线p1p2的距离(p0 points used to calculate the straight-line distance p1p2)
    2020-11-30 15:19:27下载
    积分:1
  • MATLAB
    利用五点差分格式和Jacobi迭代法,求解精确解和数值解的误差,判断阶数是否正确(Five-point difference scheme and Jacobi iteration method are used to solve the error between exact solution and numerical solution and to judge whether the order is correct or not.)
    2020-06-23 08:20:02下载
    积分:1
  • Complex-valued_matrix_derivatives
    关于复数矩阵求导的一本经典书籍“Complex-valued_matrix_derivatives”的电子版(About the electronic version of the complex matrix derivation of a classic book " Complex-valued_matrix_derivatives" )
    2013-04-08 16:00:31下载
    积分:1
  • Famous-Numerical-Iteration-Algorithm
    提供几种著名的大型线性方程组迭代算法,包括CG、PCG、Lanczos、MINRES(Several well-known large-scale linear equations iterative algorithm, including CG, PCG, Lanczos, MINRES)
    2012-11-26 16:41:41下载
    积分:1
  • RAS-algorithm
    用于解决投入产出问题的RAS算法,已知矩阵的行和和列和,可以求出矩阵的具体值。(For the RAS algorithm to solve the problem of input and output. We know the rows and columns of the matrix,then the specific value of the matrix can be calculated.)
    2021-03-24 09:59:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载