资源列表
32458
- 本程序运用的万年历的计算公式: d=a-1+(a-1)/4-(a-1)/100+(a-1)/400+c 其中a为年c为该日期在本年中的天数,d取整数,当d/7余数0时是星期天,余数1时是星期一依此类推。
inv
- 对矩阵求逆,根据提示在visual c++运行环境中输入矩阵及相关参数即可求出逆矩阵-Of matrix inversion, according to prompts in visual c++ runtime environment, type the matrix and related parameters can be obtained inverse matrix
selection_sort
- Selection sort algorithm in C
BinaryTree
- 二叉树,可实现二叉树的插入,删除,中序,前序,后序遍历-Binary tree, binary tree can be realized insert, delete, in order, preorder, postorder traversal
HWEN
- 回文数猜想算法C语言经典实现,运行看看,猜想数字里的其他奥妙吧-Palindrome conjecture algorithm to achieve the classic C language, run to see, guess it figures in the other wonders
sell
- 输入数据的第一行为两个正整数M(M<=1000),N(N<=30),分别表示王伯的资金和鱼的种类。以下N行,每行有两个正整数S(1<=S<=N),T,分别表示某种鱼的编号以及该鱼的价格。 接着,每行有两个整数P,Q。当P,Q均大于0时,表示P,Q不能共处;当P,Q均等于0时,表示输入的结束。 Output 输出数据的第一行为两个正整数X,Y,分别表示所买鱼的条数和总花费。以下X行,每行有一个正整数,表示所买鱼的编号。编号按升序排列输出。 如果题目有多个解,
LMS_ADV
- lms系统逆辨识的实现,有个延时需要自己加上-lms against the identification system to achieve, there is a need to delay added by
radix_sort
- 本人亲自用C语言编写的基数排序代码,准确无误。基数排序的算法复杂度为O(d*n),d为最大数值的位数。-Radix Sort personally written in C code is correct. Radix Sort algorithm complexity is O (d* n), d is the maximum value of the median.
CMD
- Critere Modal decompose
knapsack_recur
- 01背包问题的蛮力递归实现,非常值得学习-01 knapsack problem brute force recursive implementation
Fibonacci
- Fibonacci数列(高精度算法) Input 有多行,每行代表一个正整数n(1 ≤ n ≤ 1001)。 Output 对每个输入,输出Fibonacci数列的第n项。-Fibonacci sequence (precision arithmetic)
6-1solution
- 哥尼斯堡的“七桥问题”,哥尼斯堡是位于普罗格河上的一座城市,包含两个岛屿及连接他们的七座桥,问可否走出这样的七座桥,而且每桥只走一次-Konigsberg' s " Seven Bridges problem," Konigsberg is a city located on the river progreso, contains two islands and seven bridges connecting them, asking whether we could