-
/ k* Product of the biggest problems Description : I set up is a n
/*最大k乘积问题 问题描述: 设I是一个n位十进制整数。如果将I划分为k段,则可得到k个整数。这k个整数的乘积称为I的一个k乘积 。 试设计一个算法,对于给定的I和k,求出I的最大k乘积(n
- 2022-04-12 10:48:27下载
- 积分:1
-
题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。
概要设计
1、顺序扫描中缀算术表达式,当读到数字时直接将其送至输出队列中;
2、当读到...
题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。
概要设计
1、顺序扫描中缀算术表达式,当读到数字时直接将其送至输出队列中;
2、当读到运算符时,将栈中所有优先级高于或等于该运算符弹出,送至输出队列中,再将当前运算符入栈;
3、当读入左括号时,即入栈;
4、当读到右括号时,将靠近栈顶的第一个左括号上面的运算符全部一次弹出,送至输出队列中,再删除栈中的左括号。
5、使用VS栈来存储读入的操作和运算结果,然后进行数字字符到数值的转换。
-Title: Design of a topic, presentation operator priority method with arithmetic expression evaluation process. Summary of design 1, the order of scanning arithmetic infix expressions, when they read numbers directly to the output queue 2, when they read operator, it will stack all priority higher than or equal to the operator pop-up , sent to the output queue, and then the current operator入栈 3, when read left brackets, that is, when入栈 4, when they read the right brackets, it will be near the Top-left of the first operator in brackets above All a pop-up, sent to the output queue, and then delete stacks of left brackets. 5, the use of VS stack to store read operation and computing the results of numeric characters and then proceed to the numerical co
- 2022-03-18 20:45:34下载
- 积分:1
-
模拟银行家算法,有效避免死锁.附带详细的实验报告!
模拟银行家算法,有效避免死锁.附带详细的实验报告!-Simulation bankers algorithm avoid deadlock. The report detailed experimental fringe!
- 2022-02-28 14:45:21下载
- 积分:1
-
zhong
对中缀表达式求值 用栈的方法对中缀表达式求值-zhong
- 2023-08-26 08:50:03下载
- 积分:1
-
Fir filter的设计,FIR滤波器系数
Fir filter的设计,FIR滤波器系数-Fir filter design, FIR filter coefficients
- 2022-03-23 06:20:25下载
- 积分:1
-
matlab 贝叶斯分类
分类器是对每一个输入模式赋予一个类别名称的软件或硬件装置,而贝叶斯分类器是各种分类器中分类错误概率最小或者在预先给定代价的情况下平均风险最小的分类器。它的设计方法是一种最基本的统计分类方法
- 2022-07-06 14:33:58下载
- 积分:1
-
赫夫曼编码程序,配套于数据结构教学书(南航)
赫夫曼编码程序,配套于数据结构教学书(南航)-Huffman coding procedures, data structures in supporting the teaching book (Southern)
- 2023-06-23 06:40:04下载
- 积分:1
-
这是一个经典的数据结构动态演示系统,支持C语言和pascal语言,对初学者肯定会有很大帮助...
这是一个经典的数据结构动态演示系统,支持C语言和pascal语言,对初学者肯定会有很大帮助-This is a classic demonstration of dynamic data structure, and C language support pascal language for beginners certainly be of much help
- 2022-02-07 16:28:42下载
- 积分:1
-
图论*匈牙利算法 的两种实现过程
Matching的巧妙在于队列的进入退出并没有仅仅限于在同一层循环中做到,构思巧妙
其算法思想在《算法设计与分析基础》...
图论*匈牙利算法 的两种实现过程
Matching的巧妙在于队列的进入退出并没有仅仅限于在同一层循环中做到,构思巧妙
其算法思想在《算法设计与分析基础》上可以参阅-Graph theory* Two Hungarian Algorithm realization process ingenious Matching queue entry and exit is not just limited to the same level as the cycle done, the idea of clever ideas in their algorithm,
- 2022-07-01 12:28:05下载
- 积分:1
-
网吧的基本操作都可以,包括刷卡,上下机等
网吧的基本操作都可以,包括刷卡,上下机等-Internet cafes can be basic operation, including credit card, from top to bottom, etc.
- 2023-01-12 07:45:04下载
- 积分:1