PROBLEM SET
容器适配器
按知识点筛选题目,系统巩固该考点。
题目列表
共 6 题
A18805
C++中priority_queue<int>默认是( )
信息学奥赛-C-L100
较难
--
A18899
stack<int> st; st.push(10); st.pop(); cout<<st.empty();输出值是( )
电子学会-C-L3
中等
--
A18911
stack<int>s; s.push(1); s.push(2); cout<<s.top();输出( )
电子学会-C-L3
中等
--
A18913
C++栈获取顶端元素用( )
电子学会-C-L3
中等
--
A20168
queue 可以通过下标访问中间元素。( )
电子学会-C-L3
中等
--
A20178
以下代码的输出是?( )queue<string> que; que.push("Hello"); que.push("World"); cout << que.back();
电子学会-C-L3
中等
--