0_0_14586816_14890.cpp: In function 'int main()': 0_0_14586816_14890.cpp:51:50: error: 'g' was not declared in this scope update(f[j],k+1,dp[j][k]),update(g[k],j+1,dp[j][k]); ^