-
a description of the problem is : No. 1, 2, ..., n n clockwise direction by indi...
约瑟夫问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,没人持有一个密码。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针自1开始报数,报到m是停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。-a description of the problem is : No. 1, 2, ..., n n clockwise direction by individuals sitting around a circle, no one holding a password. One person started as a positive integer limits on the number of reported m, from the first individuals to embark on the clockwise from a few reportedly started, the report m is reportedly stopped a few. M reported out of the list of his password as a new value m, from a clockwise direction in the next re-started from a newspaper a few, like that, until the total of all listed so far.
- 2022-02-03 16:31:48下载
- 积分:1
-
GA——DSP
遗传算法通用包,用于解决 DSP问题,传入配送点数据文件位置,文件格式如:
3 4
1 2
4 7
5 3
1 12
13 2
22 21
即可输出结果。
- 2022-07-10 19:22:56下载
- 积分:1
-
1.2KBPS MELP
微软1.2kbps MELP 算法
用于语音压缩的MELP算法,为美国联邦标准,给出的代码中包括了MELP算法的C实现版本,版权为微软所有
- 2023-03-05 01:25:03下载
- 积分:1
-
dsp28335 spwm
采用dsp28335 产生三相的spwm信号,在微型逆变器中的应用,分析了spwm信号的产生原理与dsp28335相关的寄存器配置,
- 2022-05-13 20:50:16下载
- 积分:1
-
thread_tree
此程序使线程的树和计算为了遍历写作由 c plus
- 2022-06-12 20:14:13下载
- 积分:1
-
本文是蒙特卡罗方法在数学上的一个简单应用。利用蒙特卡罗方法将确定的数学问题变成概率问题,并随机抽样,根据抽样结果,计算出单位圆的面积。...
本文是蒙特卡罗方法在数学上的一个简单应用。利用蒙特卡罗方法将确定的数学问题变成概率问题,并随机抽样,根据抽样结果,计算出单位圆的面积。-This is the Monte Carlo method in a simple mathematical applications. Using Monte Carlo method to determine the problem into mathematical probability and random sampling, the sample results to calculate the size of the unit circle.
- 2023-09-03 18:45:03下载
- 积分:1
-
稀疏距阵的链表实现希望有所帮助
稀疏距阵的链表实现希望有所帮助-sparse matrix objectlist hope to achieve some help
- 2022-03-18 14:02:57下载
- 积分:1
-
linux C数据结构
数据的逻辑结构决定了算法,数据的存储结构决定了如何实现算法。但是我觉得还是要了解一点C的基础知识比较好。因为数据结构里用的语言不是严格的c语言而是一种类c的解释语言。有c更有助于你理解数据结构。而且若是你想更进一步发展的话,比如考研数据结构就是必考的一门,所以数据结构很重要!!基于linux C的数据结构基本算法,适合初级学习,代码详细,经稍微修改可以解决实际问题,
- 2022-07-19 22:59:25下载
- 积分:1
-
c编写的蒙特卡罗算法,载的一个师兄的,验证过,可用
c编写的蒙特卡罗算法,载的一个师兄的,验证过,可用-c prepared by the Monte Carlo algorithm, a senior set, and verified, can be used
- 2022-06-14 19:08:47下载
- 积分:1
-
循环码及其纠错能力研究
资源描述循环码是一种很重要的线性分组码,是目前研究得最成熟
的一类码之一。它除了具有线性分组码的线性外,还具有循环
性,其码字结构一般用符号[n,k]表示,其中n 是该码组中的码
元数,k 是信息码元位数,r(r=n-k)是监督码元位数。循环码具
有较强的检错和纠错的能力,用于通信系统时可极大地提高了
通信的可靠性。
- 2022-02-25 11:55:45下载
- 积分:1