0_0_32863395_29200.cpp:1:1: error: expected unqualified-id before 'if' if(dp[i-1][j-1]!=-1) ^ 0_0_32863395_29200.cpp:3:1: error: expected unqualified-id before 'if' if(dp[i-1][k-1]!=-1) ^