![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
栈
只因你是晴空
这个作者很懒,什么都没留下…
展开
-
stack栈
转载文章,原文地址:点击打开链接 栈(statck)这种数据结构在计算机中是相当出名的。栈中的数据是先进后出的(First In Last Out, FILO)。栈只有一个出口,允许新增元素(只能在栈顶上增加)、移出元素(只能移出栈顶元素)、取得栈顶元素等操作。在STL中,栈是以别的容器作为底部结构,再将接口改变,使之符合栈的特性就可以了。因此实现非常的方便。下面就给出栈的函数列表和VS2008转载 2015-07-27 10:30:39 · 241 阅读 · 0 评论 -
nyoj 括号配对问题(栈)
括号配对问题 时间限制:3000 ms | 内存限制:65535 KB 难度:3 描述 现在,有一行括号序列,请你检查这行括号是否配对。 输入 第一行输入一个数N(0 输出原创 2015-07-27 16:42:04 · 306 阅读 · 0 评论 -
hdoj1022火车进站(栈)
Problem Description As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Station is t原创 2015-07-27 16:21:47 · 287 阅读 · 0 评论