摘要:
//因为可以反转n次 所以可以得到任何可以构成的序列 #include<iostream> #include<string> #include<vector> using namespace std ; typedef pair<int,int>PII; int n,k; string s; str 阅读全文
posted @ 2019-12-01 22:09
晴屿
阅读(129)
评论(0)
推荐(0)
摘要:
#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)