-
实现ping命令的源代码
本程序用于实现客户端ping命令的实现,在其基础上,可以灵活的根据需求修改代码,来实现网线是否正常(ping 网关),判断能否上网(ping 114.114.114.114)等功能。
- 2022-09-03 07:45: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
-
VC制作的广告拦截软件
VC制作的广告拦截软件-advertisement produced by intercepting software
- 2022-04-14 20:03:23下载
- 积分:1
-
Create a document automatically embedded Excel table. . . . . .
创建一个文档自动嵌入Excel表-Create a document automatically embedded Excel table. . . . . .
- 2022-03-21 04:31:16下载
- 积分:1
-
餐馆自动化中心
1.1 目的
软件需求规范 (SRS) 将提供为餐厅自动化系统 (RAS) 在拟议的餐厅中使用的软件要求的详细的说明。此 SRS 将允许什么是可以预料的 RAS 将建造完整的理解。HMS 的清晰理解及其 " 功能将允许使用正确的软件,为最终用户开发和将用于该项目的未来阶段的发展。此 SRS 将为该项目提供了基础。从这个 SRS,RAS 可以设计、 构建,和最后测试。
这些要求在这家餐馆的老板对征求建议的答复中创建,并通过进一步启发、 谈判和反馈制定了。
1.2 文档约定
- 2023-02-19 21:00:03下载
- 积分:1
-
此程序代码用来获取计算机系统的时间,在很多情况下我们都需要系统时间....
此程序代码用来获取计算机系统的时间,在很多情况下我们都需要系统时间.-this procedure code used to access the computer system and the time, in many cases we need the system time.
- 2022-02-20 02:41:11下载
- 积分:1
-
Any cs. student a ny average university will at some point be faced with design...
Any cs. student a ny average university will at some point be faced with design patterns (dp for the rest of the article). Dp s are generic principles or best practices from software development. This article is not an introduction to dp s, since others have already covered that in longer and better written articles. Instead, this article deals with implementing and re-using C++ templates when thinking dp s. -Any cs. Student a ny average university will at some point be faced with design patterns (dp for the rest of the article). Dp s are generic principles or best practices from software development. This article is not an introduction to dp s, since others have already covered that in longer and better written articles. Instead, this article deals with implementing and re-using C++ templates when thinking dp s.
- 2022-06-16 19:07:14下载
- 积分:1
-
Opengl中二次曲线绘制地球,并进行纹理贴图,得到逼真的地球模型。
Opengl中二次曲线绘制地球,并进行纹理贴图,得到逼真的地球模型。-Opengl in Conics Earth mapping and texture mapping, to be realistic earth model.
- 2022-07-23 05:36:05下载
- 积分:1
-
FBMC和OFDM子载波对比分析
这是关于5G波形和4G波形子载波对比的程序,程序仿真图很好的分析了二者的子载波对比。对于初学者理解子载波有很好的帮助
- 2022-05-30 08:32:57下载
- 积分:1
-
带有计算图形面积功能的计算器,图形界面,用VC++编写
带有计算图形面积功能的计算器,图形界面,用VC++编写
-Graphic area with a calculation function calculator, graphical interface, using VC++ Prepared
- 2023-03-14 05:50:03下载
- 积分:1