consul.cpp:7:5: error: ambiguating new declaration of 'int say_answer(int)'
7 | int say_answer(int n){
| ^~~~~~~~~~
In file included from consul.cpp:2:
grader.h:7:6: note: old declaration 'void say_answer(int)'
7 | void say_answer(int k);
| ^~~~~~~~~~
consul.cpp: In function 'int say_answer(int)':
consul.cpp:14:13: error: return-statement with no value, in function returning 'int' [-fpermissive]
14 | return;
| ^~~~~~
consul.cpp:17:15: warning: control reaches end of non-void function [-Wreturn-type]
17 | cout<<-1<<endl;
| ^~~~