资源列表
greatest-common-divisor
- 输入两个正整数m和n,求其最大公约数和最小公倍数。 程序分析:利用辗除法。 -Enter two positive integers m and n, find their greatest common divisor and least common multiple. Program analysis: the use of rolling division.
zhishu-fenjie
- 将一个正整数分解质因数。例如:输入90,打印出90=2*3*3*5。 程序分析:对n进行分解质因数,应先找到一个最小的质数k,然后按下述步骤完成: (1)如果这个质数恰等于n,则说明分解质因数的过程已经结束,打印出即可。 (2)如果n <> k,但n能被k整除,则应打印出k的值,并用n除以k的商,作为新的正整数你,重复执行第一步。 (3)如果n不能被k整除,则用k+1作为k的值,重复执行第一步。 -The prime factorization of a
aPaaPaaaP....
- 求s=a+a aa+aaaa+aa...a的值,其中a是一个数字。例如2+22+222+2222+22222(此时共有5个数相加),几个数相加有键盘控制。 1.程序分析:关键是计算出每一项的值。 -S = a+aa+aaa+aaaa+aa ... a required value, wherein a is a number. For example 2+22+222+2222+22222 (In this case the number of the sum total of fi
CGraphDll
- 图论 利用有向图排序算法,顶点边之间的关系,求解最优路径-Use a relationship graph theory algorithms, vertex between edges directed graph sort solving the optimal path
nxn-solver
- this a fortran source code for solving nXn equation system solving.-this is a fortran source code for solving nXn equation system solving.
Syntax-analysis
- 这是一份“语法分析”程序,可以实现判断符号、串并符号的功能-This is a "syntax analysis" program, can realize the function judgement symbol, string and symbol
The-file-system-simulation
- 这是一份c语言模拟Linux文件系统,可以实现文件的监理、查找、删除等功能-This is a c language simulation of the Linux file system, can realize file management, search, delete, etc
bitree
- 用C语言实现建立二叉树,并对所建立的二叉树进行先序遍历、广度优先遍历、深度优先的中序遍历。-Build a binary tree using C language and conduct preorder, breadth-first traversal, depth-first traversal on the established binary tree.
chapter-2
- 算法设计与分析的 第2章 递归与分治策略.pdf-Design and Analysis of Algorithms Chapter 2 Recursion and divide and conquer strategy. Pdf
Chapter-3-2
- 算法设计与分析的 第3章 动态规划2(本章分两部分)-Algorithm Design and Analysis of Dynamic Programming Chapter 3 (2)
Chapter-3-1
- 算法设计与分析 第3章 动态规划(本章第一部分)-Algorithm Design and Analysis Chapter 3 dynamic programming (the first part of this chapter)
Chapter-4
- 算法设计与分析 第4章 贪心算法(本部分对贪心算法进行了详细讲解)-Chapter 4 of the greedy algorithm algorithm design and analysis