摘要:
#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
阅读(11)
评论(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
阅读(10)
评论(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
阅读(7)
评论(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
阅读(14)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-05-23 20:06
艾鑫4646
阅读(19)
评论(0)
推荐(0)

浙公网安备 33010602011771号