0_0_36459182_25678.cpp: In function 'void solve()': 0_0_36459182_25678.cpp:43:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(p[i][j]!=1) dp[i][j]=(p[i][j][1]*dp[i][j+1]+p[i][j][2]*dp[i+1][j]+2)/(1-p[i][j][0]); ^