摘要:
核心代码如下: include include include using namespace std; int main() { stack st; //1.入栈 st.push('A'); st.puch('B'); st.push('C'); cout<<"栈的大小:"<<st.size()< 阅读全文
摘要:
代码示例: include include include include include<unordered_map> using namespace std; int main() { // 1.创建哈希表:键为String类型,值为int类型 unordered_map<string, int 阅读全文