0_0_35799280_13698.cpp: In function 'void found(int, int)':
0_0_35799280_13698.cpp:14:19: error: return-statement with a value, in function returning 'void' [-fpermissive]
if(flag) return true;
^
0_0_35799280_13698.cpp:16:17: error: return-statement with a value, in function returning 'void' [-fpermissive]
return flag=true;
^
0_0_35799280_13698.cpp:41:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
return flag;
^
0_0_35799280_13698.cpp: In function 'int main()':
0_0_35799280_13698.cpp:59:17: error: could not convert 'found(sc, sr)' from 'void' to 'bool'
if(found(sc,sr))
^
|