2019-暑假牛客第一場A題Equivalent Prefixes-單調棧

思路:單調棧 AC代碼:c++ #include<bits/stdc++.h> #define per(i,a,b) for(int i = (a);i <= (b);++i) using namespace std; const int maxn = 1e5 + 10; typedef long long LL; int a[maxn],b[maxn]; int n = 0; void sol
相關文章
相關標籤/搜索