-
栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进...
栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进者先出,即最后被存入的数据将首先被取出。其形式很象一种存储硬币的小容器,每次只可以从顶端压入一个硬币,而取出也只可以从顶端进行,即后进先出。 这样的数据存储和管理形式在一些程序设计中很有用。例如,编译系统中(这是一类比较复杂的程序),对于函数调用的处理、对于表达式计算的处理,都利用了栈这样的数据结构。- The stack (stack) is in the programming process frequently
meets the vitality one kind of construction of data form under, it has
such characteristic regarding data depositing and the operation: 1) it
only has a logarithm according to the port which carries on stores and
takes out; 2) less advanced first leaves, namely finally the data
which will store first is taken out. Its form looks like one kind of
memory coin very much the small container, each time only may press in
a coin from the peak, but takes out also only may carry on from the
peak, namely less advanced first leaves. Such data storage and the
management form are very useful in some programmings. For example, in
the compiling system (this is a kind of quite complex procedure),
transfe
- 2023-08-22 21:50:04下载
- 积分:1
-
一个计算逻辑表达式的程序,是结构化计算机组成课实习的作业...
一个计算逻辑表达式的程序,是结构化计算机组成课实习的作业-a logical expression calculation procedures, the structure is composed of computer training classes operations
- 2022-03-11 19:27:59下载
- 积分:1
-
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,他有一条荒唐的法律,将犯人站成一个圆圈,从第S个人开始数起...
约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,他有一条荒唐的法律,将犯人站成一个圆圈,从第S个人开始数起,每数到第D个犯人,就拉出来处决,然后再数D个,数到的人再处决―――直到剩下的最后一个可赦免。 发展的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,但这N个人每人持有一个密码,他有一条荒唐的法律,将犯人站成一个圆圈,法官先给出一个密码M,从第S个人开始数起,每数到第M个犯人,就拉出来处决,再根据这个人所持有的密码F,然后再数F个,数到的人再处决,以此类推―――直到剩下的最后一个可赦免。-Joseph problems have original development of the Joseph and Joseph two. The original Joseph Description : Ancient a judge to sentence N inmates of the death penalty, he is a ridiculous law, prisoners station into a circle, from S began a few individuals, every few months to D prisoners, pull out executions, then D, the number of people to be re-executed--- until the last one left to be pardoned. The development of the Joseph Description : Ancient a judge to sentence N inmates of the death penalty, but each individual N holders a password, he is a ridiculous law, prisoners station into a circle, the judges first gave a password M, S individuals from the beginning of several, each of the first few inmates M , pull hi
- 2022-03-11 16:54:39下载
- 积分:1
-
很好的一个源程序
很好的一个源程序-a good source
- 2022-01-26 05:34:24下载
- 积分:1
-
多项式相加 pascal源程序
多项式相加 pascal源程序-polynomial combined source
- 2022-07-23 00:42:09下载
- 积分:1
-
匈牙利算法实现二分图最大匹配
文件输入输出.
匈牙利算法实现二分图最大匹配
文件输入输出.-Hungarian algorithm bipartite graph maximum matching document input and output.
- 2022-07-19 23:47:19下载
- 积分:1
-
约瑟夫环最终运行文件,适合直接使用者,不必再以来C语言来汇成执行文件。...
约瑟夫环最终运行文件,适合直接使用者,不必再以来C语言来汇成执行文件。-Josephus final run files, suitable for users, having been formed to C language implementation document.
- 2022-08-23 14:57:09下载
- 积分:1
-
论坛软件系统亦称电子公告板(BBS)系统,它伴随社区BBS的流行而成为互联网最重要的应用之一,也逐渐成为网站核心竞争力的标志性体现。...
论坛软件系统亦称电子公告板(BBS)系统,它伴随社区BBS的流行而成为互联网最重要的应用之一,也逐渐成为网站核心竞争力的标志性体现。-Forum software systems also known as electronic bulletin boards (BBS) system, which is accompanied by the popular BBS communities to become the most important application of the Internet, one site is becoming the core competitiveness of the symbolic embodiment.
- 2022-02-12 15:50:10下载
- 积分:1
-
一个递归算法,并把递归出的文件隐藏,使用VB开发,希望大家支持...
一个递归算法,并把递归出的文件隐藏,使用VB开发,希望大家支持-A recursive algorithm, and recursive documents are hidden, use the VB development, I hope you will support
- 2022-03-21 18:21:49下载
- 积分:1
-
/*数字三角形问题 问题描述: 给定一个由n行数字组成的数字三角形如下图所示。试设计一个算法,计算出从三角形的顶至底的一条路径,使该路径经过的数字总和最大。 7...
/*数字三角形问题 问题描述: 给定一个由n行数字组成的数字三角形如下图所示。试设计一个算法,计算出从三角形的顶至底的一条路径,使该路径经过的数字总和最大。 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 编程任务: 对于给定的由n行数字组成的数字三角形,编程计算从三角形的顶至底的路径经过的数字和的最大值-/* Digital triangle Issue Description : given an OK by the number n of triangular figures shown in the diagram below. Design of a test algorithm, calculated from the top of the triangle to the end of a path, the path through the largest sum of the figures. 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 programming tasks : for a given n line by the number of digits triangle, triangle programming calculated from the top to the bottom of the path through the figures and the maximum
- 2022-09-23 22:05:03下载
- 积分:1