找不到bug...

include

include

using namespace std;

define debug(x) //std::cerr << #x << ” = ” << (x) << std::endl

typedef long long LL;
const int MAXN = 1e5+17;
int a[MAXN];
int main(int argc ,char const *argv[])
{
#ifdef noob
freopen(“Input.txt”,”r”,stdin);freopen(“Output.txt”,”w”,stdout);
#endif
int n;
cin>>n;
for (int i = 0; i < n; ++i)
{
cin>>a[i];
}
int cur = 0,ans = 0;
stack < pair

猜你喜欢

转载自blog.csdn.net/m0_37802215/article/details/79861204