文件名称:mowangyuyan
介绍说明--下载内容均来自于网络,请自行研究使用
1.主要是对栈和队列的运用。
2.首先实现栈和队列的基本操作。
3.将魔王语言自右至左进栈,总是处理栈顶字符。若是开括号,则注意出栈,将字母顺序如对,直至闭括号出栈,并按照规则要求注意出对在处理后入栈。
4.规则(2)的实现主要运用队和栈的特性。
-1. Mainly for the use of stack and queue. 2. First of all realize the basic stack and queue operations. 3. The devil language from right to left into the stack, always deal with Top-characters. If the opening bracket, then the attention of the stack will be in alphabetical order such as the right, until the closing parenthesis of the stack, and in accordance with the rules require attention in the post-treatment入栈. 4. Rules (2) the use of force and realize the main characteristics of the stack.
2.首先实现栈和队列的基本操作。
3.将魔王语言自右至左进栈,总是处理栈顶字符。若是开括号,则注意出栈,将字母顺序如对,直至闭括号出栈,并按照规则要求注意出对在处理后入栈。
4.规则(2)的实现主要运用队和栈的特性。
-1. Mainly for the use of stack and queue. 2. First of all realize the basic stack and queue operations. 3. The devil language from right to left into the stack, always deal with Top-characters. If the opening bracket, then the attention of the stack will be in alphabetical order such as the right, until the closing parenthesis of the stack, and in accordance with the rules require attention in the post-treatment入栈. 4. Rules (2) the use of force and realize the main characteristics of the stack.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
魔王语言.cpp