05 2023 档案
摘要:#include<bits/stdc++.h> using namespace std; const int N=1010; char a[N],b[N]; int f[N][N]; int main(){ int n,m; cin>>n; scanf("%s",a+1); cin>>m; scan
阅读全文
摘要:#include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; priority_queue<int,vector<int>,greater<int>> heap; while(n--){ int x; cin>>x;
阅读全文
摘要:#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; }
阅读全文
摘要:#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
阅读全文
摘要:#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
阅读全文
摘要:#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
阅读全文
摘要:#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
阅读全文
摘要:#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
阅读全文
摘要:#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
阅读全文
摘要:#include<iostream> using namespace std; #include<fstream> test01(){ ofstream ofs; ofs.open("test.txt",ios::out); ofs<<"姓名"<<endl; ofs<<"性别"<<endl; ofs
阅读全文
摘要:#include<bits/stdc++.h> using namespace std; class CPU{ public: virtual void caculate()=0; }; class Videocard{ public: virtual void display()=0; }; //
阅读全文