摘要: #include <iostream> #include <list>//引入list容器的头文件 #include <algorithm> using namespace std; int main(){ list<int> a; int b[]={1,2,3,4}; list<int> c(b, 阅读全文
posted @ 2023-12-31 10:01 fushuxuan1 阅读(13) 评论(0) 推荐(0)
摘要: 1. #include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int a[n]={},x,y; for(int i=0;i<n;i++){ cin>>a[i]; } cin>>x; deque<int> b(a 阅读全文
posted @ 2023-12-31 09:44 fushuxuan1 阅读(16) 评论(0) 推荐(0)