Runtime Error
/in/foo.cc: In function 'int search(int)': /in/foo.cc:45:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^
/in/foo.cc: In function 'int search(int)': /in/foo.cc:45:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^