-
一款音频播放器,能测试好多工程指标,用C++编写
一款音频播放器,能测试好多工程指标,用C++编写-an audio player, a lot of test and engineering indicators, using C++
- 2022-02-27 00:55:15下载
- 积分:1
-
一个扑克牌游戏梭哈程序程序简单易懂相信不用我介绍大家应该可以很容易理解...
一个扑克牌游戏梭哈程序程序简单易懂相信不用我介绍大家应该可以很容易理解-a card game Xunhe Procedure easily understood and I do not believe I should introduce you can easily understand
- 2022-06-29 16:49:20下载
- 积分:1
-
windows CE realize the function of soft keyboard code, not only describes the re...
windows CE实现软键盘的功能代码,不仅说明了软键盘的实现方法,而且可以进行简单测试。-windows CE realize the function of soft keyboard code, not only describes the realization method of soft keyboard, but also a simple test.
- 2023-08-21 05:25:04下载
- 积分:1
-
通过ADC0809进行模数转换,中断方式采样,并将结果在PC机上动态显示出来。...
通过ADC0809进行模数转换,中断方式采样,并将结果在PC机上动态显示出来。-through ADC0809 for analog-digital conversion, interrupt sampling, the results on PC Dynamic displayed.
- 2022-03-20 06:32:43下载
- 积分:1
-
本程序是串口通信程序,经由本人两个月艰苦劳动的来的,主要含多线程同步的知识...
本程序是串口通信程序,经由本人两个月艰苦劳动的来的,主要含多线程同步的知识-serial communication program, through my two months of hard labor to the main thread synchronization with more knowledge
- 2022-10-14 20:45:04下载
- 积分:1
-
波浪折射程序,By付桂。VB源码,海洋专业推荐一下,
波浪折射程序,By付桂。VB源码,海洋专业推荐一下,-By VB source, marine professionals recommend that Haha
- 2022-07-15 20:24:05下载
- 积分: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
-
一个关于MFC有用的例子,保存后解压
一个关于MFC有用的例子,保存后解压- About the MFC useful example, after preserves decompresses
- 2023-05-06 05:20:03下载
- 积分:1
-
漂亮专业大气网站工作室源码 完整无错误 网上少见
漂亮专业大气网站工作室源码 完整无错误 网上少见-Beautiful site professional studio atmosphere complete source rare error-free online
- 2022-10-25 23:45:05下载
- 积分:1
-
静态求两点间距离的程序,不输入点坐标,用VC++编写
静态求两点间距离的程序,不输入点坐标,用VC++编写-Static for the distance between two points of the procedure, do not enter a point of coordinates, with VC++ Prepared
- 2022-05-18 17:51:03下载
- 积分:1