-
按照屏幕的提示,我们可以从键盘输入指数和系数,两个多项式的输入结束是以两个连续的0为标志.本程序可以实现两个多项式的加法...
按照屏幕的提示,我们可以从键盘输入指数和系数,两个多项式的输入结束是以两个连续的0为标志.本程序可以实现两个多项式的加法-accordance with the instructions on your screen, we can input from the keyboard and index coefficient, the importation of two polynomials is the end of two consecutive 0 mark. This program can achieve two polynomials Adder
- 2022-02-24 09:24:14下载
- 积分:1
-
在Windows2000、XP直接访问端口的源代码
在windows2000,xp下直接访问端口的程序源代码-in windows2000, xp under direct access port source code
- 2022-03-21 22:06:00下载
- 积分:1
-
具有多种经典的数据结构算法的程序集合,完全是经过多次测试编译调试好的,可以运行的!...
具有多种经典的数据结构算法的程序集合,完全是经过多次测试编译调试好的,可以运行的!-with a variety of classic data structures set of algorithm is completely after several tests compiler debug Yes, we can run!
- 2023-01-15 23:10:04下载
- 积分: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
-
这个snake程序是NetBSD操作系统源代码的一部分,要是你能发现Bug,我先恭喜你。...
这个snake程序是NetBSD操作系统源代码的一部分,要是你能发现Bug,我先恭喜你。-The snake process is NetBSD part of the operating system source code, if you can find Bug, I would like to congratulate you.
- 2022-06-20 15:38:42下载
- 积分:1
-
串口调试助手V2.3的VC++源代码,欢迎下载
串口调试助手V2.3的VC++源代码,欢迎下载-Serial Debugging Assistant V2.3 of the VC++ source code, please download the
- 2022-01-30 14:27:18下载
- 积分:1
-
:本文介绍了AutoCAD软件读取DXF文件类型,已SIM卡…
读取AutCAD软件中的dxf类型文件,经过简化修改和功能加强的修改-: This paper presents AutoCAD software to read the dxf file types, have been simplified and enhanced functionality to amend the amendment
- 2022-07-11 08:40:38下载
- 积分:1
-
文件名:SPCStatusDLL.dll
版本号:V1.00_071017
用 途:为方便Keil软件中,对仿真时间的观擦,特别是单步仿真时间,编成此动...
文件名:SPCStatusDLL.dll
版本号:V1.00_071017
用 途:为方便Keil软件中,对仿真时间的观擦,特别是单步仿真时间,编成此动态连接库;
用 法:把SPCStatusDLL.dll拷贝到...KeilC51BIN的目录下面。然后设置工程Project->Options for Target->Debug->
在Use Simulator即左边的选项中,在最下方Dialog Dll:旁边Parameter:下面加上 -dSPCStatusDLL,而不管前面是-p52还是-p58等。
编译工程成功后,在点击菜单Debug->Start/Stop debug Session (ctrl+F5),开始调试。点击菜单Peripherals->PC Status即可看到对话框。-File name: SPCStatusDLL.dll version number: V1.00_071017 purposes: To facilitate the Keil software, the concept of simulation time for wiping, especially single-step simulation time, into the dynamic link library Usage: SPCStatusDLL.dll to copy to. .. KeilC51BIN directory below. And then set up the project Project-
- 2023-01-25 06:00:03下载
- 积分:1
-
Full screen feature in .NET Compact Framework
Full screen feature in .NET Compact Framework
- 2023-01-21 18:50:03下载
- 积分:1
-
链表面试题
3.创建一个学生链表,进行链表的插入、删除、查找操
作,要求:(1)使用函数模板;
- 2022-06-30 03:55:29下载
- 积分:1