int count(int N, int K){
dp[0][0] = 1;
for(int i = 0; i < N; i++){
for(int j = 0; j <= K; j++){
for( int a = 0; a <= i; a++){
print(N,K);
if(j+a*(i-a) > K || dp[i][j] == 0){ continue;}
dp[i+1][j+a*(i-a)] += dp[i][j];
dp[i+1][j+a*(i-a)] %= MOD;
}
}
}
return dp[N][K];
}
Help me with dis dp code, I can't undestand. https://community.topcoder.com/stat?c=problem_statement&pm=14304