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