-
带有计算图形面积功能的计算器,图形界面,用VC++编写
带有计算图形面积功能的计算器,图形界面,用VC++编写
-Graphic area with a calculation function calculator, graphical interface, using VC++ Prepared
- 2023-03-14 05:50:03下载
- 积分:1
-
Windows Mobile 下MAPI_关于邮件和短消息的技术支持都可以用这个
Windows Mobile 下MAPI_关于邮件和短消息的技术支持都可以用这个-Windows Mobile under MAPI_ mail and short message on the technical support can use this
- 2022-07-27 03:41:57下载
- 积分:1
-
实例288——创建MFC扩展DLL,实现圆形按钮类
创建MFC扩展DLL,实现圆形按钮类。
- 2022-08-17 13:37:55下载
- 积分:1
-
数据结构实验,二叉树 二叉树 二叉树
数据结构实验,二叉树 二叉树 二叉树-tree
- 2022-08-07 07:52:32下载
- 积分: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
-
delphi串口通信控制器
delphi串口通信控制器-Serial Communication Controller
- 2022-07-24 04:12:03下载
- 积分:1
-
Using java language of one
用java语言实现对一维数组的快速排序算法-Using java language of one-dimensional array of quick sort algorithm
- 2022-01-24 12:59:28下载
- 积分:1
-
数组的建立擦除,存取到文件和读取文件
数组之间的加法乘法运算等...
数组的建立擦除,存取到文件和读取文件
数组之间的加法乘法运算等-Erase the establishment of an array, access to documents and read the file between the adder array multiplication such as
- 2023-08-07 01:50:03下载
- 积分:1
-
对于某些信源编码的问题,这是众所周知的,
For certain source coding problems, it is well known that the
Kraft inequality provides a simple sufficient condition for the existence of
codes with given codeword lengths. Motivated by this fact, a sufficient condition
based on the Kraft inequality can also be sought for the problem
of zero-error instantaneous coding with decoder side information
- 2022-05-12 23:13:47下载
- 积分:1
-
题目:计算打鱼还是晒网题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高
于10万元,低于20万元时,低于10...
题目:计算打鱼还是晒网题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高
于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可可提
成7.5%;20万到40万之间时,高于20万元的部分,可提成5%;40万到60万之间时高于
40万元的部分,可提成3%;60万到100万之间时,高于60万元的部分,可提成1.5%,高于
100万元时,超过100万元的部分按1%提成,从键盘输入当月利润I,求应发放奖金总数?
1.程序分析:请利用数轴来分界,定位。注意定义时需把奖金定义成长整型。
-topics : computing net fishery or drying topics : corporate bonus payments made to generate profit. Profit (I) less than or equal to 10 million, the prize money to be raised by 10%; The profit of more than 10 million, less than 20 million, less than 10 million by some 10%, which hovered above 10 million, cocoa generate 7.5%; 200,000-400,000 it among when more than 20 million, could generate 5%; 400,000 to 600,000 between when more than 40 million, can generate 3%; 6-1000000 between, above 60 million, could generate 1.5%, higher than 100 million, more than some 1 million by 1% will generate from the keyboard month profit I, for the total prize money should be paid? 1. Program Analysis :
- 2022-08-25 11:42:32下载
- 积分:1