-
It is a memory function of clock procedures in the hope that we all support. Poo...
这是一个有记忆功能的闹钟程序,希望得到大家的支持.写得不好的地方也希望得到你的帮助来做得最好.-It is a memory function of clock procedures in the hope that we all support. Poorly written local hope with your help to do best.
- 2023-05-18 22:05: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
-
教科书的例子,源码for the examples from Fintan culwin S Textbook是……
Textbook examples, source code for the examples from Fintan Culwin s textbook Java: an Object First Approach, which is also on this CD.
- 2023-07-27 10:10:03下载
- 积分:1
-
什么是API--所谓API本来是为C和C++程序员写的。API说来说去,就是一 种函数,他们包含在一个附加名为DLL的动态连接库文件中。...
什么是API--所谓API本来是为C和C++程序员写的。API说来说去,就是一 种函数,他们包含在一个附加名为DLL的动态连接库文件中。-What is API? API is sort for Application Programming Interface. It is not only for C/C++ Programmer, but also for other programming language. Usually, we refer to API as Windows API. Generally, it is encapsulated in a DLL file.
- 2022-04-30 09:48:42下载
- 积分:1
-
窗口异型演示程序源码
窗口异型演示程序源码-window dysplasia demo program source
- 2022-08-14 19:02:29下载
- 积分:1
-
获取DLL中的版本信息(主版本号,次版本号等)
获取DLL中的版本信息(主版本号,次版本号等)-DLL to obtain the version information (major version number, sub-version number, etc.)
- 2022-08-23 07:54:03下载
- 积分:1
-
emb.zip: Earth
emb.zip: Earth-moon barycenter size 21KB.
Trigonometric expansion for the location of the Earth-Moon barycenter. A high precision fit to DE102.
地球月球之间质心计算公式。-emb.zip: Earth-moon barycenter size 21KB. Trigonometric expansion for the location of the Earth-Moon barycenter. A high precision fit to DE102. Earth
- 2022-02-02 15:42:14下载
- 积分:1
-
nokiaarmy的XAP包
nokiaarmy的XAP包没有混淆的,可以直接反编译删除了wmappprheader。XML文件改名为XAP可以直接部署。研究逆向WP的难得的文件从诺基亚取得的。
- 2023-06-02 15:25:03下载
- 积分:1
-
PDF
PDF-API2-0.3a30.tar.gz
- 2022-04-01 09:02:50下载
- 积分:1
-
On the edit box and edit box richtext detailed the use of code, tell you a lot o...
关于编辑框和richtext编辑框的详细使用代码,告诉你很多不为人知的用法.-On the edit box and edit box richtext detailed the use of code, tell you a lot of unknown use.
- 2022-03-20 21:47:46下载
- 积分:1