摘要: #include<iostream> #include<algorithm> #include<cstring> using namespace std ; typedef long long ll; const int MAXN = 2e5+5; ll arr[MAXN],dp[MAXN]; in 阅读全文
posted @ 2019-11-24 19:56 晴屿 阅读(104) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstdlib> using namespace std; int T,n; int a[100001],b[100001]; int main() { scanf("%d",&T); while(T--) { 阅读全文
posted @ 2019-11-24 13:00 晴屿 阅读(132) 评论(0) 推荐(0)
摘要: #include<iostream> #include<map> #include<set> #include<algorithm> using namespace std; const int N = 1e7+10; map<int,bool>vis; set<int>b; int n,a[N], 阅读全文
posted @ 2019-11-24 12:59 晴屿 阅读(217) 评论(0) 推荐(0)