01 2024 档案

摘要:#include <bits/stdc++.h> using namespace std; int main(){ int m,n,b=0; cin>>n>>m; queue<int> a; for(int i=1;i<=n;i++){ a.push(i); } while(!a.empty()){ 阅读全文
posted @ 2024-01-31 11:41 fushuxuan1 阅读(4) 评论(0) 推荐(0) 编辑
摘要:#include <bits/stdc++.h> using namespace std; int main(){ int boy=0,girl=0,w=0; cin>>boy>>girl>>w; queue<int> a; queue<int> b; for(int i=1;i<=boy;i++) 阅读全文
posted @ 2024-01-31 11:11 fushuxuan1 阅读(27) 评论(0) 推荐(0) 编辑
摘要:#include <bits/stdc++.h> using namespace std; int main(){ int n,Min=1000,m=0; cin>>n; int a[n]; for(int i=0;i<n;i++){ cin>>a[i]; } for(int i=1;i<n;i++ 阅读全文
posted @ 2024-01-29 11:54 fushuxuan1 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-01-28 11:18 fushuxuan1 阅读(2) 评论(0) 推荐(0) 编辑
摘要:#include <bits/stdc++.h> using namespace std; class t{ private: int a; int list[10000]={0}; public: void set(){ cout<<"请输入10个数字排序"<<endl; for(int i=0; 阅读全文
posted @ 2024-01-28 11:07 fushuxuan1 阅读(2) 评论(0) 推荐(0) 编辑
摘要:#include <bits/stdc++.h> using namespace std; int main(){ int m=5; cout<<"请输入"<<m<<"个数字排序"<<endl; int max=100000; int list[max]={0}; int a; for(int i= 阅读全文
posted @ 2024-01-28 10:57 fushuxuan1 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-01-27 09:20 fushuxuan1 阅读(2) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> using namespace std; class Box{ private: double length; double width; public: void setLength(double length); void setWidth(double 阅读全文
posted @ 2024-01-27 09:19 fushuxuan1 阅读(3) 评论(0) 推荐(0) 编辑
摘要://1 #include <bits/stdc++.h> using namespace std; int main(){ list<int> a={1,2,3,4,5}; list<int> b={6,7,8,9,10}; a.splice(a.end(),b); list<int>::itera 阅读全文
posted @ 2024-01-05 19:42 fushuxuan1 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示