![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
栈和队列
文章平均质量分 80
※夏日星空※
这个作者很懒,什么都没留下…
展开
-
HDOJ 1702 ACboy needs your help again!
ACboy needs your help again! Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5502 Accepted Submission(s): 2866 Problem Descri原创 2016-07-25 11:08:04 · 229 阅读 · 0 评论 -
Replace To Make Regular Bracket Sequence(括号配对问题)
Replace To Make Regular Bracket Sequence Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description You are given string s consists of op原创 2016-07-25 17:36:49 · 934 阅读 · 0 评论 -
HDOJ 1896 Stones(优先队列)
Stones Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description Because of the wrong status of the bicycle, Sempr begin to walk east t原创 2016-07-25 19:32:16 · 222 阅读 · 0 评论 -
Rails(栈)
栈 Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %llu Submit Status Description There is a famous railway station in PopPush City. Country there is incredibl原创 2016-07-25 21:22:30 · 193 阅读 · 0 评论 -
HDOJ 1873 看病要排队(优先队列)
看病要排队 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 看病要排队这个是地球人都知道的常识。 不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,原创 2016-07-25 21:28:42 · 220 阅读 · 0 评论 -
栈和队列 知识点
使用标准库的栈和队列时,先包含相关的头文件 #include #include using namespace std; 定义栈如下: stack stk; 定义队列如下: queue q; 栈提供了如下的操作 [cpp] view plain copy s.empty() 如果栈为空返回tru原创 2016-07-04 13:55:02 · 527 阅读 · 0 评论