摘要:
Description You are given string s consists of opening and closing brackets of four kinds <>, {}, [], (). There are two types of brackets: opening and 阅读全文
摘要:
Description There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately 阅读全文
摘要:
Description ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so poor :(. 阅读全文
摘要:
使用标准库的栈和队列时,先包含相关的头文件 #include<stack> #include<queue> using namespace std; 定义栈如下: stack<int> stk; 定义队列如下: queue<int> q; 栈提供了如下的操作 s.empty() 如果栈为空返回tru 阅读全文