-
一款很不错资料查询软件
详细功能清下载后试用
易语言
一款很不错资料查询软件
详细功能清下载后试用
易语言-A very good detailed functional INFOTERRA software download trial Qing Yi language
- 2022-08-15 14:00:41下载
- 积分:1
-
a game application!
五子棋小程序!不是很完美哦!可以看看哦!-a game application!
- 2022-07-16 02:47:24下载
- 积分:1
-
TCPIP terminal program source code
TCPIP终端程序源代码 -TCPIP terminal program source code
- 2023-01-20 05:40:03下载
- 积分:1
-
Genetic Programing遗传编程的C++实现研究
Genetic Programing遗传编程的C++实现研究-Genetic Programming Genetic Programing the C++ Realize Study
- 2023-05-16 05:20:03下载
- 积分:1
-
under the Virtual Print procedures, in place to achieve a variety of map file fo...
windows 2000下的虚拟打印程序,可以实现多种格式到位图文件的转换-under the Virtual Print procedures, in place to achieve a variety of map file format conversion
- 2023-07-13 20:00:02下载
- 积分:1
-
C语言编程高级入门,使大家的C语言有所提高
C语言编程高级入门,使大家的C语言有所提高-C language programming advanced beginners, so everyone" s C language has increased
- 2022-09-08 00:40:02下载
- 积分:1
-
DOS下的通用四串口测试程序,用于测试串口是否能正常工作。
DOS下的通用四串口测试程序,用于测试串口是否能正常工作。-DOS generic four serial test procedure for testing whether the serial port to work properly.
- 2022-05-28 08:52:00下载
- 积分:1
-
Collected from the camera image is displayed after a good deal with the procedur...
把从摄像机采集到的图像,经过处理好显示出来的程序-Collected from the camera image is displayed after a good deal with the procedures
- 2022-02-06 17:01:01下载
- 积分:1
-
This program is used for finding the dofollow blog on the internet , it is usefu...
This program is used for finding the dofollow blog on the internet , it is useful for the person who want to do the link building on other web sites.
- 2023-02-23 11:20:03下载
- 积分:1
-
算法实现题2
算法实现题2-1 输油管道问题
« 问题描述:
某石油公司计划建造一条由东向西的主输油管道。该管道要穿过一个有n 口油井的油
田。从每口油井都要有一条输油管道沿最短路经(或南或北)与主管道相连。如果给定n口油
井的位置,即它们的x 坐标(东西向)和y 坐标(南北向),应如何确定主管道的最优位置,
即使各油井到主管道之间的输油管道长度总和最小的位置?证明可在线性时间内确定主管道
的最优位置。
« 编程任务:
给定n 口油井的位置,编程计算各油井到主管道之间的输油管道最小长度总和。
« 数据输入:
由文件input.txt 提供输入数据。文件的第1 行是油井数n,1£ n£ 10000。接下来n 行是
油井的位置,每行2个整数x和y,-10000£ x,y£ 10000。
« 结果输出:
程序运行结束时,将计算结果输出到文件output.txt 中。文件的第1 行中的数是油井到
主管道之间的输油管道最小长度总和。
输入文件示例 输出文件示例
input.txt output.txt
5
1 2
2 2
1 3
3 -2
3 3
6
- 2022-11-12 20:40:04下载
- 积分:1