摘要: #include<iostream> #include<list> #include<algorithm> using namespace std; int main(){ list<int> a; int b[]={1,2,3,4}; list<int> c(b,b+sizeof(b)/sizeo 阅读全文
posted @ 2023-12-31 10:00 王ys 阅读(7) 评论(0) 推荐(0)
摘要: 删除指定数字 #include<iostream> #include<deque> using namespace std; int main(){ int n,x; cin>>n; int m[n]; for(int i=0;i<n;i++){ cin>>m[i]; } deque<int> a( 阅读全文
posted @ 2023-12-31 09:36 王ys 阅读(11) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-12-31 08:47 王ys 阅读(13) 评论(0) 推荐(0)