-
程序存储问题:设有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
-
exceltodb_fcn函数实现的功能是从Excel spreadshe读取数据…
函数ExceltoDB_Fcn实现的功能是从excel表格读取数据到数据库DB中。-Function ExceltoDB_Fcn realize the function is to read data from excel spreadsheet to the database in the DB.
- 2022-03-17 18:53:57下载
- 积分:1
-
NOIP2004 Standard
NOIP2004问题标程-NOIP2004 Standard-issue
- 2022-12-03 18:05:03下载
- 积分:1
-
数据库的实例,提供的第一个字母,汉字转换…
数据库实例,提供了汉字首字母转换的详细信息,相信大家能得到。
- 2023-05-26 17:30:03下载
- 积分:1
-
这是我学习数据结构与算法时编的关于队列操作的程序,对学习数据结构的朋友有帮助...
这是我学习数据结构与算法时编的关于队列操作的程序,对学习数据结构的朋友有帮助-This my learning algorithm and data structure when the series of the operation of the queue on procedures for the study of the data structure to help friends! !
- 2022-01-22 01:33:55下载
- 积分:1
-
一个关于数据结构哈夫曼编/译码的程序
一个关于数据结构哈夫曼编/译码的程序-Another Huffman tree coding Algorithm for Data Structure.
- 2023-01-09 13:00:04下载
- 积分:1
-
elsewhere When a red tiger diary source code
别处找来的红虎日记源代码-elsewhere When a red tiger diary source code
- 2022-02-09 12:52:39下载
- 积分:1
-
《学籍管理系统》 “c# WinForm 数据库操作的简单范例 (SQL Server 2000)”...
《学籍管理系统》 “c# WinForm 数据库操作的简单范例 (SQL Server 2000)”-"expulsion management systems," "c# WinForm operation of the database simple paradigm (SQL Server 2000)"
- 2023-08-19 19:55:04下载
- 积分:1
-
数据库系统概论(第三版) pdf格式图书 萨师煊著
数据库系统概论(第三版) pdf格式图书 萨师煊著-Introduction to Database Systems (third edition) pdf format book with Savimbi division Xuan
- 2023-06-15 16:41:09下载
- 积分:1
-
数据结构中的求强连通分量的源程序,用vc6.0来编写
数据结构中的求强连通分量的源程序,用vc6.0来编写-data structure for the strongly connected component of the source used to prepare vc6.0
- 2023-05-10 23:05:03下载
- 积分:1