摘要: #include<iostream> using namespace std; struct ka{ string name; int age; string xin; }; int main(){ ka a[5]; ka t; for(int i=0;i<5;i++){ cin>>a[i].nam 阅读全文
posted @ 2024-01-29 15:49 陈若麟 阅读(18) 评论(0) 推荐(0)
摘要: #include<iostream> #include<iomanip> using namespace std; int main(){ double a; cin>>a; cout<<fixed<<setprecision(2)<<a<<endl; return 0; } #include<io 阅读全文
posted @ 2024-01-29 14:53 陈若麟 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<set> using namespace std; int main(){ int m,n,x=0,c[1000],p=-1; set<int> a; cin>>m>>n; int b; set<int>::iterator i; for(in 阅读全文
posted @ 2024-01-29 11:16 陈若麟 阅读(39) 评论(0) 推荐(0)