资源列表
Binary-search
- 二分查找,递归算法,按字典顺序排好的n个字符串,查找给定的字符串,成功返回索引值,失败返回-1;-Binary search (recursive algorithm)
student
- 学生成绩统计功能:1,、求第一门课程的平均分 2、找出有2门及2门以上不及格的学生,并输出其学号;3、找出平均成绩在90分以上的学生,输出他们的学号-Student achievement statistics: a first course,, ask the average score 2, identify two and two or more failing students, and outputs its student number 3, find the averag
unluckyday
- 不吉利日期:函数功能:在国外,每月的13号和每周的星期5都是不吉利的。特别是当13号那天恰好是星期5时,更不吉利。已知 某年的一月一日是星期W,并且这一年一定不是闰年,求出这一年所有13号那天是星期5的月份,按从小 到大的顺序输出月份数字。(W=1..7)-Inauspicious date: Function: In other countries, on the 13th of each month and day of the week 5 are unlucky. Especia
integral-power
- 小明是个小学五年级的学生,为了早点去看自己爱看的卡通,他想快点把作业做完。可是可恶的数学老师今天却布置了一道难题,小明想了很久也不知道该怎么做。你的任务就是帮小明解决掉这道数学题。 题目是这样子的,有一个整数a(-2^31<= a < 2^31-1),计算它的整数幂a^n,其中1<=n<=99。-Xiao Ming is a fifth-grade students, in order to see his early love to watch cartoons,
power
- It is for testing. It is not good for download. Please skip this one.
channel_estimation
- 传统的信道估计仿真,有注释,有详细的教程流程解释,生成BER图,可改变调制方式-The traditional channel estimation simulation, notes, a detailed tutorial to explain the process to generate BER map, you can change the modulation scheme, etc.
Chap4_BinaryTree
- 二叉树算法结构的实现,对二叉树的操作-The realization of the two binary tree algorithm structure,On the two fork tree operation....
SVD
- VC下奇异值分解,里面包含了所需的lib文件和头文件,及代码演示。dgesvd_函数的调用,参数A(一维数组)的赋值是关键点。比如对矩阵X(二维数组)奇异值分解,并不是直接将按X顺序赋值给A,而是需要将X转置后赋值给A,即A的内容是X的转置形式。-windows vc svd dgesvd_
顺序表的基本操作
- 顺序表的基本操作,实现顺序表的插入,删除,输出
3.2
- 试写一个判别表达式中开、闭括号是否配对出现的算法。-Try to write a discriminant expression open and close parentheses appear if pairing algorithm.
4.1
- 编写算法,实现串的基本操作Replace(&S,T,V)。要求采用定长顺序存储表示,并且不允许调用串的基本操作。-Write algorithms to achieve the basic operation Replace string (& S, T, V). Require the use of fixed-length sequential storage representation, and not allowed to call the basic operation of
4.2
- 编写算法,在串的堆存储机构上实现串的插入操作StrInsert(&S,pos,T)和串的删除操作StrDelete(&S,pos,len)。-Write algorithm, string on the string heap storage mechanism inserts StrInsert (& S, pos, T) and serial deletion StrDelete (& S, pos, len).