摘要: #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int n; struct Range{ int l,r; bool operator<(const Range & w)const { return l<w.l; } 阅读全文
posted @ 2023-05-23 20:09 艾鑫4646 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int n; struct Range{ int l;int r; bool operator < (const Range & w)const { return r<w 阅读全文
posted @ 2023-05-23 20:08 艾鑫4646 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int n; struct Range{ int l;int r; bool operator < (const Range & w)const { return r<w 阅读全文
posted @ 2023-05-23 20:08 艾鑫4646 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-23 20:06 艾鑫4646 阅读(12) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int N=110; int f[N]; int v[N][N],w[N][N],s[N]; int main(){ int n,m,k; cin>>n>>m; for(int i=1;i<=n;i 阅读全文
posted @ 2023-05-18 20:55 艾鑫4646 阅读(9) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int N=1010,mod=1e9+7; int f[N]; int main(){ int n; cin>>n; f[0]=1; for(int i=1;i<=n;i++){ for(int j 阅读全文
posted @ 2023-05-17 20:55 艾鑫4646 阅读(14) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; const int N=10; int n; int str[N]; bool p[N]; void pl(i 阅读全文
posted @ 2023-05-16 21:23 艾鑫4646 阅读(36) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int N=110; int f[N][N]; int main(){ int n,m; cin>>n>>m; int v[N],w[N],s[N]; for(int i=1;i<=n;i++) c 阅读全文
posted @ 2023-05-15 20:54 艾鑫4646 阅读(20) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; #include<fstream> test01(){ ofstream ofs; ofs.open("test.txt",ios::out); ofs<<"姓名"<<endl; ofs<<"性别"<<endl; ofs 阅读全文
posted @ 2023-05-05 21:21 艾鑫4646 阅读(30) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; class CPU{ public: virtual void caculate()=0; }; class Videocard{ public: virtual void display()=0; }; // 阅读全文
posted @ 2023-05-04 14:12 艾鑫4646 阅读(8) 评论(0) 推荐(0) 编辑