-
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
-
6.5M2
偏微分方程的数值解法,简单的离散 变分以及求解过程(Numerical solution of partial differential equations, the simple and the solution process of discrete variational)
- 2011-08-15 19:58:51下载
- 积分:1
-
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
-
feng-V4.6
给出接收信号眼图及系统仿真误码率,可实现对二维数据的聚类,matlab开发工具箱中的支持向量机。( The received signal is given eye and BER simulation systems, Can realize the two-dimensional data clustering, matlab development toolbox support vector machine.)
- 2017-05-22 22:29:25下载
- 积分:1
-
test1_1
说明: 研究舍入误差的例程,可以帮助初学计算方法的人。(Of rounding error in the routine that can help beginners who calculation.)
- 2011-04-11 23:55:26下载
- 积分:1
-
GOCEPARSER
利用下载的goce原始数据,计算得出含有时间/经纬度/重力梯度格式的程序(Use downloaded goce raw data, calculated with the time/latitude/gravity gradient program formats)
- 2013-08-25 16:44:04下载
- 积分:1
-
czn_fmow
基于P-Q分解法的快速潮流计算,可用于实际系统(The fast power flow calculation based on P-Q decomposition method can be used in practical system.)
- 2018-11-19 11:14:24下载
- 积分:1
-
PlateOfElasticStatic
二维弹性力学边界元程序中调试中的问题,有助于初学者从中发现问题,学习编写程序(Plate of Elastic Static)
- 2011-06-09 11:23:08下载
- 积分:1
-
statistic_errors
统计格点数据文件A和文件B中物理量间的相关系数,平均误差,均方根误差,绝对误差。(Statistics grid data file A and file B, the correlation between physical quantities, the average error, root mean square error, absolute error.)
- 2021-01-07 17:48:52下载
- 积分:1
-
ComplexNetworks
复杂网络MATLAB工具包和源程序,用于计算复杂网络特性的工具包。(Complex network MATLAB toolkit and source code)
- 2020-11-19 21:39:38下载
- 积分:1