-
100 minor procedures, procedures Although small, but very useful, I believe. You...
100个小的程序,别看程序小,但是很管用,相信我。肯定会对你有帮助的。-100 minor procedures, procedures Although small, but very useful, I believe. You will definitely help.
- 2023-09-07 17:00:02下载
- 积分:1
-
2^k进制数
设r是个2^k 进制数,并满足以下条件:
(1)r至少是个2位的2^k 进制数。
(2)作为2^k进制数,除最后一位外,r的每一位严格小于它右边相邻的那一位。
(3)将r转换为2进制数q后,则q的总位数不超过w。
在这里,正整数k(1≤k≤9)和w(k<W≤30000)是事先给定的。
问:满足上述条件的不同的r共有多少个?
我们再从另一角度作些解释:设S是长度为w 的01字符串(即字符串S由w个“0”或“1”m组成),S对应于上述条件(3)中的q。将S从右起划分为若干个长度为k 的段,每段对应一位2k进制的数,如果S至少可分成2段,则S所对应的二进制数又可以转换为上述的2k 进制数r。
例:设k=3,w=7。则r是个八进制数(23=8)。由于w=7,长度为7的01字符串按3位一段分,可分为3段(即1,3,3,左边第一段只有一个二进制位),则满足条件的八进制数有:
2位数:高位为1:6个(即12,13,14,15,16,17),高位为2:5个,…,高位为6:1个(即67)。共6+5+…+1=21个。
3位数:高位只能是1,第2位为2:5个(即123,124,125,126,127),第2位为3:4个,…,第2位为6:1个(即167)。共5+4+…+1=15个。
所以,满足要求的r共有36个。
- 2023-04-14 17:30:03下载
- 积分:1
-
The first two for the artificial intelligence program, prepared with the C++, re...
前两个为人工智能程序,用C++编写,分别是动物判别程序及实现异或算法的bp程序。BLUETOOTH和F2M_BLUETOOTH是单片机和蓝牙模块通信的程序。“数字示波器”为利用单片机开发的一个简单数字示波器程序。-The first two for the artificial intelligence program, prepared with the C++, respectively, determine the procedures and implementation of animal XOR algorithm bp procedures BLUETOOTH.C and F2M_BLUETOOTH.C microcontroller and Bluetooth module is a communication process digital oscilloscope. C for the use of MCU development of a simple digital oscilloscope program.
- 2022-07-27 16:52:17下载
- 积分:1
-
流体计算中压力与速度耦合求解的算法。
是目前比较常用的方法之一。...
流体计算中压力与速度耦合求解的算法。
是目前比较常用的方法之一。-Calculation of fluid pressure and velocity coupling solution algorithms. Is more commonly used methods.
- 2022-06-21 10:58:57下载
- 积分:1
-
plural example
复数示例-plural example
- 2022-03-11 09:34:46下载
- 积分:1
-
实现时间序列建模的marple算法,具体操作程序里有提示
实现时间序列建模的marple算法,具体操作程序里有提示-Achieve time-series modeling marple algorithm, specific procedures have prompted
- 2022-02-15 20:01:06下载
- 积分:1
-
利用CRC
利用CRC-32检测程序的完整性-The use of CRC-32 testing the integrity of the proceedings
- 2022-10-21 01:40:03下载
- 积分:1
-
实对称矩阵的特征值和特征向量求解
用VC6.0编程调试,用来计算实对称矩阵的特征值和特征向量,经调试测试,完全可以用于工程实验。代码中有相应的注释,帮助读者更好的理解代码。具体还可以参考 常用算法程序集(C++语言描述)-徐士良 第四版
- 2022-06-01 21:28:41下载
- 积分:1
-
请认真阅读您的文件包,说明它至少有40字节。
Please read your package and describe it at least 40 bytes.
System will automatically delete the directory of debug and release
- 2022-09-10 02:55:03下载
- 积分:1
-
Real
实数编码遗传算法程序 这是第二部分,可用于模型参数辨识,也有其它的用途-Real-coded genetic algorithm This is the second part of the procedure can be used for model parameter identification, there are other uses
- 2023-02-08 13:45:03下载
- 积分:1