int main() { int T; cin>>T; while(T--) { int a[N]; ...... } return 0; }
这种程序的栈空间占用是 N×TN\times TN×T 还是 NNN 呢?