0_0_37756187_23623.cpp:8:16: error: redefinition of 'long long int dp [6000020][2]' int dp[2 * N][2]; ^ 0_0_37756187_23623.cpp:7:20: note: 'long long int dp [6000020][2]' previously declared here int P[N],Q[N],S[N],dp[N*2][2]; ^