资源列表
xunhuanlianbiao-Josephus
- 用循环链表解Josephus问题。设有n个人围坐在一个圆桌周围,现从第1个人开始报数,数到第m的人出列,然后从出列的下一个人重新开始报数,数到第m的人又出列,…,如此反复直到所有的人全部出列为止。Josephus问题是:对于任意给定的n和m,求出按出列次序得到的n个人员的序列,如n=8,m=4时,输出序列是48521376。-cyclic Chain Solutions Josephus problem. N with the individuals sitting around a round
1-1
- c++二、通过将其元素插入到双向链表中的方法对数组A进行排序。算法对链表的当前操作位置进行维护,当需要插入表项时,若新元素比当前位置值要大,则往前移动;若小则往后移动。编写函数DoubleSort实现上述排序算法。 template <class T> void DoubliSort( T a[], int n)
PCLED
- 用七段数码管显示分,秒值开始运行,时间值为00-00,每隔1秒,时间值变化一次,从键盘上按任意键退出
lifa
- 理发染发烫发顾客在不同时间内到达理发店,按照不同的收益统计总收益-The barber hair perm customers arrive at different times within the barber shop, total revenue in accordance with different income statistics
tdms_excel
- 将labview产生的tdms格式的文件批量转换为excel格式的文件,m文件中使用用uigetdir函数,可以加入浏览要转换的tdms格式的文件夹和要保存的文件夹。-Will generate the labview TDMS format files batch convert excel format file, m file use uigetdir function, can add the browse folder to convert TDMS format and to sav
Number-system-conversion
- 进行不同数制之间的转换,以十进制、八进制、十六进制为例。-Different number system conversion between decimal, octal, hex, in sixteen as an example.
redobject
- In this program, we will deetect the red object.
6
- 分类统计字符个数count_char 要求程序接受用户输入一行字符(字符个数不得超过80个,该字符串以回车符结束)按字母 数字和其他字符分类计数,然后将结果分三行分别显示出来,并标明哪类字符! -Categories Statistics count_char number of characters to accept user input requirements of the procedure and his characters (the number of characte
C8051F330_LED
- 该程序用SLAB公司的c8051f330单片机来实现LED灯的驱动,使其闪烁-this programme uses c8051f330 to lite LED
LCDzifuxianshi
- 此单片机程序实现的是lcd字符显示设计,采用的是LCM161(HD44780驱动器)字符显示器,连接板子的P0.0--P0.7,采用I/O口模仿总线时序,不需要硬件扩展 -This single-chip program lcd character display design, using LCM161 (HD44780 drive) character display, the connecting plate promoter P0.0- P0.7 I/O port to mimic
6
- 汇编,更改系统时间,不是非常高级的代码,但是可以应付检查-Assembly to change the system time, not very advanced code, but you can meet the inspection
mw
- 实现m序列和Walsh序列合成m-w复合序列,并且分别有m序列和Walsh序列的代码-M sequence and Walsh m- sequence synthesis w composite sequence, and there were m sequence code and Walsh sequences
