-
dotNET界面
dotNET界面-dotNET interface
- 2022-04-20 07:10:37下载
- 积分:1
-
矩阵计算的类苦,包括矩阵乘法,求逆矩阵求特征值和特征向量等...
矩阵计算的类苦,包括矩阵乘法,求逆矩阵求特征值和特征向量等-Matrix Calculation, including Matrix multiplization,etc.
- 2022-05-15 22:08:01下载
- 积分: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
-
直接写屏,直接从内存写到屏幕内存,然后刷出来。开发环境为Carbide 1.2 +SDK 2rd...
直接写屏,直接从内存写到屏幕内存,然后刷出来。开发环境为Carbide 1.2 +SDK 2rd-Direct write screen, directly from the memory screen memory writes, and then brush out. Development environment for the Carbide 1.2+ SDK 2rd
- 2022-02-04 01:20:43下载
- 积分:1
-
文本网页文档的自动主题分类
Automated subject classification of textual Web documents
- 2022-10-27 15:40:03下载
- 积分:1
-
远景与系统设计杂志六月2009
Vision and system design magazine 2009 June-Vision and system design magazine 2009 June
- 2022-01-22 13:31:30下载
- 积分:1
-
Russian
一个类似俄罗斯芳块的3d游戏,希望对学习3d编程的能有点帮助-Russian-fang, a similar piece of 3d game, and I hope to learn 3d programming can be a little help
- 2022-03-24 06:16:52下载
- 积分:1
-
以下是本系统静态页面的实现过程。在信息发布管输入信息后,提交到一个保存页面的ASP文件,由此文件静态页面。该文件的主要代码如下 生成 html 文件的函数,建立...
以下是本系统静态页面的实现过程。在信息发布管输入信息后,提交到一个保存页面的ASP文件,由此文件静态页面。该文件的主要代码如下 生成 html 文件的函数,建立以系统时间命名,后缀“.shtml”的文件。-These are the static pages of the system implementation process. In the information dissemination management input information, save the page to submit to an ASP file, this file static pages. The main source of the document is as follows generated html file function system time to establish a name suffix ". Shtml" files.
- 2023-07-30 22:55:03下载
- 积分:1
-
用CSharp写的画橡筋线程序,虽然不是很复杂,但是提供了基本的思路,可以注释很详细,相信大家都可以看得懂!...
用CSharp写的画橡筋线程序,虽然不是很复杂,但是提供了基本的思路,可以注释很详细,相信大家都可以看得懂!-CSharp written with rubber band line painting process, although not very complicated, but provides the basic ideas can be very detailed notes, I believe that everyone can understand!
- 2022-08-13 15:12:44下载
- 积分:1
-
不规则形状按钮,mfc
不规则形状按钮,mfc-irregularly shaped buttons, mfc
- 2022-01-26 04:52:58下载
- 积分:1