-
程序存储问题:设有n 个程序{1,2,…, n }要存放在长度为L的磁带上。程序i存放在磁带上的长度是Li ,1≤i≤n 程序存储问题要求确定这n 个程序在磁带...
程序存储问题:设有n 个程序{1,2,…, n }要存放在长度为L的磁带上。程序i存放在磁带上的长度是Li ,1≤i≤n 程序存储问题要求确定这n 个程序在磁带上的一个存储方案,使得能够在磁带上存储尽可能多的程序。 编程任务: 对于给定的n个程序存放在磁带上的长度,编程计算磁带上最多可以存储的程序数。 数据输入:由文件input.txt给出输入数据。第一行是正整数n,表示文件个数。接下来的1 行中,有n 个正整数,表示程序存放在磁带上的长度。 结果输出: input.txt output.txt 6 50 5 2 3 13 8 80 20 -program storage problem : There n procedures (1,2, ..., n) to be stored in the length of the L tape. I kept in the proceedings on the tape length is Li, 1 i n storage procedures to seek to establish that n procedures on tape storage of a program that allows the tape to store as much as possible the procedure. Programming tasks : to the n procedures stored in the tape length, calculated programming on tape can store up to the number of procedures. Data input : from the document input.txt given input data. The first line is a positive integer n, said the document number. Following a visit, n is an integer, said procedures stored on tape length. Results output : input.txt output.txt 6 50 5 2 3 13 8 80 20
- 2023-01-10 04:30:04下载
- 积分:1
-
Class processing, exception handling, overloading the encoding, REM AddNewStuden...
类的处理,异常处理,超载的编码,REM AddNewStudent.sql
REM Chapter 9, Oracle9i PL/SQL Programming by Scott Urman-Class processing, exception handling, overloading the encoding, REM AddNewStudent.sql REM Chapter 9, Oracle9i PL/SQL Programming by Scott Urman
- 2022-03-19 18:46:16下载
- 积分:1
-
on several useful algorithm described in the very useful
是关于好几中有用的算法描述的很有用的-on several useful algorithm described in the very useful
- 2022-05-26 15:29:15下载
- 积分:1
-
先输入矩阵的维数,再输入该矩阵,然后通过该算法从大到小输出该矩阵的各行各列和主辅对角线的和...
先输入矩阵的维数,再输入该矩阵,然后通过该算法从大到小输出该矩阵的各行各列和主辅对角线的和-First dimension of input matrix, and then enter the matrix, and then through the smallest of the algorithm output lines of the matrix columns and the main diagonal and Des
- 2022-03-31 15:58:41下载
- 积分:1
-
EXCEL 股票繪圖
用Excel寫的下載中國台灣股票程式(下載來源為中國台灣証交所),並可選取不同的日期區間繪製股票趨勢圖,大盤指數及kd,MA線,同時工作表內還有各種技術分析說明,內容非常豊富。
- 2022-01-30 14:13:24下载
- 积分:1
-
用电管理,用ftp编的源程序,小改一下就可以用了
用电管理,用ftp编的源程序,小改一下就可以用了-electricity management, use ftp addendum to the source, small change can use this!
- 2022-01-26 07:34:19下载
- 积分:1
-
c classic example of the data structure
c数据结构的经典示例
- 2023-08-13 18:20:03下载
- 积分:1
-
大数相乘的源代码,使用C++在VC环境中实现.
大数相乘的源代码,使用C++在VC环境中实现.-multiply large numbers of the source code, the use of C in the VC environment to achieve.
- 2022-11-21 14:05:03下载
- 积分:1
-
科研管理系统是用PoerBuilder编写
科研管理系统是用PoerBuilder编写-research management system is used to prepare PoerBuilder
- 2022-01-31 18:53:28下载
- 积分:1
-
Visual+C+++6.0数据库开发技术与工程实践(下),共7个实例,有源代码,使用前看光盘使用说明...
Visual+C+++6.0数据库开发技术与工程实践(下),共7个实例,有源代码,使用前看光盘使用说明-Visual+ C+++6.0 database development Technology and Engineering Practice (below), a total of seven instances, active code, CD-ROM read instructions before use
- 2022-05-16 07:39:08下载
- 积分:1