-
一种基本算法! 现有一个酒店有100个房间,依次编号为1到100,第一个服务员经过,将所有房间门关上;第二个服务员经过将所有编号为2的倍数房门打开;第三个服务员...
一种基本算法! 现有一个酒店有100个房间,依次编号为1到100,第一个服务员经过,将所有房间门关上;第二个服务员经过将所有编号为2的倍数房门打开;第三个服务员经过将所有编号为3倍数的房门打开的关上,关闭的打开。依此类推;输入一个100以内的正整数N,输出第N服务员经过之后,所有房间的状态。-a basic algorithm! An existing 100 hotel rooms, followed by No. 1-100, after an attendant, all rooms will be closed; Second attendants after all No. 2 in multiples door open; Third attendants after all No. 3 multiples of the open door is shut, Guan the opening closed. XII; The importation of a hundred within the positive integer N, N output after attendants, all rooms in the state.
- 2022-03-24 18:35:44下载
- 积分:1
-
自己帮家里人写的一个废品收购管理数据库系统,数据库用的access,界面用的VC...
自己帮家里人写的一个废品收购管理数据库系统,数据库用的access,界面用的VC-To help people write their own home to buy a waste management database system, the database used access, interface with the VC
- 2022-09-13 21:15:03下载
- 积分:1
-
用aspvbScript实现数据结构中的排序算法
用aspvbScript实现数据结构中的排序算法-aspvbScript use data structure of the algorithm
- 2023-04-08 06:10:03下载
- 积分:1
-
各个数据库的分页算法,看起来还是很有用的,所以拿出来分享给大家!...
各个数据库的分页算法,看起来还是很有用的,所以拿出来分享给大家!-Paging algorithm for each database, it seems it is useful, so come to share for everyone!
- 2022-01-25 22:10:05下载
- 积分:1
-
数据结构
Balance
数据结构
Balance-Bi-Tree 数据结构
Balance-Bi-Tr-data structure Balance- Bi-Tree data structure Balance- Bi-Tr ee data structure Balance- Bi-Tree data structure Balance- Bi-Tr
- 2023-04-20 07:45:03下载
- 积分:1
-
无限位的大数加减运算,纠错能力很强,界面间接
无限位的大数加减运算,纠错能力很强,界面间接-unlimited majority of the modified bit computing, a strong correction capabilities, interface indirectly
- 2022-02-06 05:40:54下载
- 积分:1
-
是一个很好的c++家族管理系统
是一个很好的c++家族管理系统-is a good family management system c
- 2022-05-05 17:27:01下载
- 积分:1
-
数据结构与算法――C++版 好书要不要,不用付钱的哦
数据结构与算法――C++版 好书要不要,不用付钱的哦-data structures and algorithms-- C version of the books should not and do not have to pay oh
- 2022-05-09 09:58:50下载
- 积分:1
-
假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,1...
假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,100,101,110,111。那么符号序列S0S1S7S0S1S6S2S2S3S4S5S0S0S1编码后变成 000001111000001110010010011100101000000001,共用了42bit。我们发现S0,S1,S2这3个符号出现的频率比较大,其它符号出现的频率比较小,我们采用这样的编码方案:S0到S7的码辽分别01,11,101,0000,0001,0010,0011, 100,那么上述符号序列变成011110001110011101101000000010010010111,共用了39bit。尽管有些码字如 S3,S4,S5,S6变长了(由3位变成4位),但使用频繁的几个码字如S0,S1变短了,所以实现了压缩。对于上述的编码可能导致解码出现非单值性:比如说,如果S0的码字为01,S2的码字为011,那么当序列中出现011时,你不知道是S0的码字后面跟了个1,还是完整的一个S2的码字。因此,编码必须保证较短的编码决不能是较长编码的前缀。符合这种要求的编码称之为前缀编码。要构造符合这样的二进制编码体系,可以通过二叉树来实现。-Suppose a file appears in eight kinds of symbols S0, SQ, S2, S3, S4, S5, S6, S7, then each symbol to be encoded, at least 3bit. Suppose encoding 000,001, 010,011,100,101,110,111. Then the symbolic sequence S0S1S7S0S1S6S2S2S3S4S5S0S0S1 encoded into 000001111000001110010010011100101000000001, sharing a 42bit. We found that S0, S1, S2 these three symbols the frequency of relatively large, the other symbols the frequency is relatively smal
- 2022-04-27 21:17:34下载
- 积分:1
-
合同管理系统源程序,对报表打印数据备份与恢复等技术进行应用。...
合同管理系统源程序,对报表打印数据备份与恢复等技术进行应用。-Contract management system source code, for printing statements, such as data backup and recovery technology for the application.
- 2022-08-12 07:47:46下载
- 积分:1