摘要: #include <bits/stdc++.h> using namespace std; const int maxn=1e5+5; struct node{ int next,to; }edge[maxn<<1]; int head[maxn<<1],cnt,st[maxn]; void add 阅读全文
posted @ 2021-05-11 20:06 Acception 阅读(44) 评论(0) 推荐(0)
摘要: #include<cstdio> #include<stack> using namespace std; int n,a[3000005],f[3000005]; stack<int>s; int main() { scanf("%d",&n); for(int i=1;i<=n;i++) sca 阅读全文
posted @ 2021-05-11 10:07 Acception 阅读(32) 评论(0) 推荐(0)