摘要: code: #include<bits/stdc++.h> using namespace std; const int N=1000010; int a[N],b[N],k,n,x; int read() { int f=1,ans=0;char c=getchar(); while(c>'9'| 阅读全文
posted @ 2020-12-25 16:20 纸上的彩虹 阅读(66) 评论(0) 推荐(0)
摘要: code: #include<bits/stdc++.h> using namespace std; int a[100010],top; int main() { int n; cin>>n; a[0]=-1; for(int i=1;i<=n;i++) { int x; scanf("%d",& 阅读全文
posted @ 2020-12-25 16:13 纸上的彩虹 阅读(59) 评论(0) 推荐(0)