0_0_29821143_28692.cpp:1:1: error: expected unqualified-id before 'if'
if(p[i-1][j-1]==r){
^
0_0_29821143_28692.cpp:5:6: error: expected unqualified-id before 'if'
if(p[i][j-2]=="r"){
^
0_0_29821143_28692.cpp:9:6: error: expected unqualified-id before 'if'
if(p[i+1][j-1]=="r"){
^
|