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