摘要: 1. #include <iostream> #include <list> using namespace std; int main(){ list<int> a = {1,2,3}; list<int> b = {4,5,6}; list<int>::iterator i,j; j = a.e 阅读全文
posted @ 2023-12-31 09:54 王一行(小号) 阅读(13) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int main(){ int x[] = {2,3,4,5,6,7}; deque<int> a(x,x+sizeof(x)/sizeof(int)); cout<<"初始值:"; for(int i = 阅读全文
posted @ 2023-12-31 08:50 王一行(小号) 阅读(14) 评论(0) 推荐(0)