Main.cc: In function ‘int main()’: Main.cc:10:8: error: ‘a’ was not declared in this scope cin>>a>>b>>C; ^ Main.cc:10:14: error: ‘C’ was not declared in this scope cin>>a>>b>>C; ^ Main.cc:16:38: error: ‘d’ was not declared in this scope long long y=min(b,k+d); ^ Main.cc:18:24: error: ‘c’ was not declared in this scope dp[x][y]=dp[j][k]+c; ^ Main.cc:20:40: error: ‘c’ was not declared in this scope dp[x][y]=min(dp[x][y],dp[j][k]+c); ^