0_0_33140980_11935.cpp:1:1: error: expected unqualified-id before 'if' if(cmp(val,p[x]))insert(ls,x,val); ^ 0_0_33140980_11935.cpp:2:5: error: expected unqualified-id before 'else' else insert(rs,x,val); ^