-
程序存储问题:设有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
-
本系统为内部系统,帐户由管理员添加、管理; 分为两个组,User组和Boss组。Boss组的帐户可以发广播通知; 任意两个用户间可以互相通信; 数据库接口用DA
本系统为内部系统,帐户由管理员添加、管理; 分为两个组,User组和Boss组。Boss组的帐户可以发广播通知; 任意两个用户间可以互相通信; 数据库接口用DAO,网络通信用 CSocket+CSocketFile;-the system to internal system administrator account by adding, management; Divided into two groups, User Group and the Boss group. Boss Group accounts Broadcasting notice can be issued; Between any two users can communicate with each other; Using DAO Database Interface, Network Communication CSocket CSocketFile;
- 2022-07-08 02:52:45下载
- 积分:1
-
数据结构表达式求值
数据结构表达式求值-data structure expression evaluates
- 2022-10-23 04:20:03下载
- 积分:1
-
一个实用的数据库实例,利用ODBC接口实现对初学者会有…
一个实用的数据库实例,采用ODBC接口,对初学者有很大帮助-a practical example of a database, using ODBC interface for beginners will be of great help
- 2022-10-05 15:15:02下载
- 积分:1
-
图书馆系统
创建一个随机访问文件,为图书馆的书,它将只包含基本信息关于每一个书记录列表将有一个独特的国际标准书号没有、 书类别、 书名和作者姓名、 出版商名称、 出版年月和价格.程序应该能够从文件加载书籍列表。 书本中。程序应该能够添加到列表中的新书,从列表中删除一本书更新本书的详细信息,显示列表中的图书信息和书籍列表保存到一个文件存储
- 2022-12-04 09:40:03下载
- 积分:1
-
order stack the basic operation, a total of nine, and Xiulan WU Weimin textbooks...
顺序栈的基本操作,一共9个,与吴伟民数据结构课本完全一致,用C实现-order stack the basic operation, a total of nine, and Xiulan WU Weimin textbooks data structure is fully consistent with achieving C
- 2022-05-05 02:57:50下载
- 积分:1
-
a very good business Invoicing software, used to write the PB.
一个非常不错的商业进销存软件,用PB写的。-a very good business Invoicing software, used to write the PB.
- 2022-02-05 15:55:40下载
- 积分:1
-
这是开发的客户关系管理系统,有源代码和发布版本版
这是开发的客户关系管理系统,有源代码和发布版本版-This is the development of customer relationship management systems, and active code releases version
- 2022-07-11 00:09:54下载
- 积分:1
-
用C++编写的一个迷宫游戏,专为指针和数据结构的C++编写的..
一个用C写的迷宫小游戏,旨在对C中的指针及数据结构中的单链表和栈的使用的训练。-Using C to write a maze game, designed for C of the pointer and data structure of a single linked list and stack the use of training.
- 2022-09-26 18:25:02下载
- 积分:1
-
战车问题 战车问题 战车问题 战车问题
战车问题 战车问题 战车问题 战车问题-The issue of the chariot chariot chariot issues issues issues chariot chariot chariot problem issues
- 2022-04-14 23:42:29下载
- 积分:1