If I write code like this:
int main()
{
int const maxn = 1e5 + 5, maxk = 450;
int dp[maxn][maxk];
}
I will get the Runtime Error:
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
But If I move variables to global scope, everything will work fine.