04 2023 档案

摘要:#include<bits/stdc++.h>using namespace std;typedef struct { string name;}Name;int main(){ Name num[1000]; int i=0; while(1){ cin>>num[i].name; if(num[ 阅读全文
posted @ 2023-04-27 23:27 mo寒流xing 阅读(47) 评论(0) 推荐(0)
摘要:#include<bits/stdc++.h>using namespace std;#define maxline 100typedef struct { int c; int cpp; int math;}Grade;typedef struct { int id; string name; G 阅读全文
posted @ 2023-04-24 21:10 mo寒流xing 阅读(65) 评论(0) 推荐(0)
摘要:#include<bits/stdc++.h>using namespace std;typedef struct { string id;//16位的数字 int jihao; int weihao;}STD;int main(){ int i; cin>>i; STD data[i]; for( 阅读全文
posted @ 2023-04-21 21:33 mo寒流xing 阅读(21) 评论(0) 推荐(0)
摘要:#include<bits/stdc++.h> #include<string.h>using namespace std;#define maxlen 100 //表的最大长度 typedef struct{ int key; char name[20]; int age;} Data;//节点的 阅读全文
posted @ 2023-04-18 20:55 mo寒流xing 阅读(23) 评论(0) 推荐(0)
摘要:#include<iostream>#include<string>using namespace std;#include<bits/stdc++.h> #define maxlen 100 //表的最大长度 typedef struct{ char key[10]; char name[20]; 阅读全文
posted @ 2023-04-17 20:45 mo寒流xing
摘要:#include<bits/stdc++.h>using namespace std;class Shape{ public: virtual double area()=0; ~Shape(){};};class Rectangle:public Shape{ private: double wi 阅读全文
posted @ 2023-04-15 21:57 mo寒流xing
摘要:#include<bits/stdc++.h>using namespace std;int main(){ int a=39; int b=39; cout<<a<<endl<<b<<endl; a++; ++b; cout<<"one year later...."<<endl; cout<<" 阅读全文
posted @ 2023-04-14 21:36 mo寒流xing 阅读(18) 评论(0) 推荐(0)