-
Color Grid Colum
Color Grid Colum
Color Grid Colum
Color Grid Colum-
Color Grid Colum
Color Grid Colum
- 2023-03-24 21:10:03下载
- 积分:1
-
procedures how to read and write DOS Windows clipboard, small learning process f...
DOS程序如何读写Windows剪贴板,小程序供大家学习使用-procedures how to read and write DOS Windows clipboard, small learning process for everyone to use
- 2022-01-26 01:50:05下载
- 积分:1
-
production avi file.
制作avi文件的程序。-production avi file.
- 2022-08-21 18:42:32下载
- 积分:1
-
OFDM simulation on the procedures for beginners OFDM simulation should be helpfu...
关于OFDM仿真的程序,对初学OFDM仿真的朋友应该很有帮助.-OFDM simulation on the procedures for beginners OFDM simulation should be helpful friend.
- 2022-03-22 08:45:04下载
- 积分:1
-
若允许天平两边放砝码,times应从
若允许天平两边放砝码,times应从-num[index]开始,并且分段计算sum,本例只放天平一边.?? -if allowed to put weight on both sides of scales, from the times-num [index], and sub-calculated sum, the cases take only balance the side.
- 2022-02-20 22:30:53下载
- 积分:1
-
VCD出租管理系统(基于ADO的)
VCD出租管理系统(基于ADO的)-VCD rental management system (based on ADO)
- 2022-01-26 04:48:48下载
- 积分:1
-
调试说明,各种调试结果
介绍的很详细很好哦
调试说明,各种调试结果
介绍的很详细很好哦-DDS debugging shows that the results presented in a variety of debugging detail Oh well
- 2022-02-10 15:03:27下载
- 积分:1
-
This code for find object on the map
This code for find object on the map
- 2022-04-22 20:14:05下载
- 积分:1
-
ESS系列es6168 IC开发源代码,ESS平台HA的发展…
ESS 系列ES6168 IC开发源代码,开发ESS平台下的硬盘播放机。-ESS Series ES6168 IC development source code, the development of ESS platform hard disk player.
- 2023-03-14 15:40:04下载
- 积分:1
-
算法实现题2
算法实现题2-3 邮局选址问题
« 问题描述:
在一个按照东西和南北方向划分成规整街区的城市里,n个居民点散乱地分布在不同的
街区中。用x 坐标表示东西向,用y坐标表示南北向。各居民点的位置可以由坐标(x,y)表示。
街区中任意2 点(x1,y1)和(x2,y2)之间的距离可以用数值|x1-x2|+|y1-y2|度量。
居民们希望在城市中选择建立邮局的最佳位置,使n个居民点到邮局的距离总和最小。
« 编程任务:
给定n 个居民点的位置,编程计算n 个居民点到邮局的距离总和的最小值。
« 数据输入:
由文件input.txt 提供输入数据。文件的第1 行是居民点数n,1£ n£ 10000。接下来n 行
是居民点的位置,每行2 个整数x 和y,-10000£ x,y£ 10000。
« 结果输出:
程序运行结束时,将计算结果输出到文件output.txt 中。文件的第1 行中的数是n 个居
民点到邮局的距离总和的最小值。
输入文件示例 输出文件示例
input.txt output.txt
5
1 2
2 2
1 3
3 -2
3 3
10
- 2022-08-26 13:24:17下载
- 积分:1