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