为什么这个在洛谷IDE上面内存超限了?
#include<bits/stdc++.h> using namespace std; const int N=500005; stack<int> st[N]; signed main(){ return 0; }
为什么改成 vector 就不会?
vector
求助大佬