摘要: #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 阅读全文
posted @ 2023-05-23 20:10 艾鑫4646 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #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; 阅读全文
posted @ 2023-05-23 20:09 艾鑫4646 阅读(8) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-23 20:06 艾鑫4646 阅读(13) 评论(0) 推荐(0) 编辑