Main.cc: In function ‘int main()’: Main.cc:32:23: error: expected ‘;’ before ‘min’ dp[i][j] min(dp[i-1][j]+100,dp[i][j-1]+100); ^~~ Main.cc:32:21: warning: statement has no effect [-Wunused-value] dp[i][j] min(dp[i-1][j]+100,dp[i][j-1]+100); ~~~~~~~^