摘要:
#include<bits/stdc++.h> using namespace std; int shu[100005]; int ans[100005]; int main() { int total; cin>>total; while(total--) { int n; bool flag=t 阅读全文
posted @ 2019-12-01 03:00
晴屿
阅读(144)
评论(0)
推荐(0)
摘要:
//只要从所有区间右端点的最小值覆盖到所有区间左端点的最大值即可 #include<iostream> using namespace std ; int x,y; int n; int t; int main() { cin>>t; while(t--) { cin>>n; if(n==1) { 阅读全文
posted @ 2019-12-01 01:48
晴屿
阅读(130)
评论(0)
推荐(0)