0_0_22453513_27034.cpp: In function 'int main()': 0_0_22453513_27034.cpp:21:42: error: 'h' was not declared in this scope for (i=0; i<=h1; i++){for (j=0; j<=h2; h++)dp[i][j]=0.0;} ^