-
5
★问题描述:
给出平面上的N 个二维点,求出距离最小的2 个点对。本题中距离定义为他们的直
线距离。例如(0,0) (3,4)的距离为5.
★数据输入:
有多组数据,对于每组数据,第一行是一个数字N 表示点的个数。N=0 的时候说明
输入结束。之后N 行,每行有2 个浮点数x_i,y_i 表示第i 个点的坐标。(1<=N<=10000
0,0<=|x_i|,|y_i|<=10^9)
★结果输出:
输出一个浮点数,表示最近点对的距离除以2,保留2 位小数(四舍五入)。
- 2013-12-03 14:57:02下载
- 积分:1
-
Burgers
用麦克麦考方法求解一维burgers方程的matlab代码(By Mike McCaw method for solving one-dimensional burgers equation matlab code)
- 2021-02-13 14:59:49下载
- 积分:1
-
matrix
基于OpenMP的大型矩阵相乘的算法源码(Based on OpenMP for large matrix multiplication algorithm source code)
- 2014-06-11 19:47:16下载
- 积分:1
-
Turbine_Design
工业汽轮机设计计算程序,具有很好的参考价值,可以参考学习一下(Industrial steam turbine design calculation procedures, a good reference value, you can refer to learn about)
- 2020-06-26 17:40:02下载
- 积分:1
-
hen_qg73
利用matlab针对图像进行马氏距离计算 ,LDPC码的完整的编译码,线性调频脉冲压缩的Matlab程序。( Using matlab to calculate the Mahalanobis distance for the image, Complete codec LDPC code, LFM pulse compression of the Matlab program.)
- 2017-05-18 19:17:04下载
- 积分:1
-
CH2CH5CH7
最小二乘法的参数辨识研究。逐个的程序实现了最小二乘法算法以及实现的研究。(Least squares method of parameter identification studies. Procedures achieved by least squares algorithm and realize research.)
- 2008-05-13 22:02:16下载
- 积分:1
-
“当前”统计模型(Kalman)
根据当前运动模型,进行Kalman滤波。得到滤波优化后的运动轨迹(Kalman filtering is carried out according to the current motion model)
- 2017-09-14 11:10:30下载
- 积分:1
-
sgp4-master
C++ SGP4 Satellite Library
- 2020-06-24 14:20:01下载
- 积分:1
-
Array-1-dimensi(prak-7)
program array 1 dimensi
- 2012-11-26 08:31:23下载
- 积分:1
-
1
说明: 实现重力式热管换热器设计计算功能,简单按照设计任务书,给出所需热管的结构尺寸,涉及的热管蒸发段和冷凝段长度分别为1m,绝热段长度30cm,内径20cm,外径25cm,热管工质为水。(Realize the gravity heat pipe heat exchanger design and calculation functions , simple design in accordance with the mission statement , given the size of the required structure of the heat pipe , heat pipe evaporator and condenser section lengths were involved 1m, adiabatic length 30cm, inner diameter 20cm, 25cm outside diameter heat pipe working fluid is water.
)
- 2015-03-01 18:45:20下载
- 积分:1