Problem | jamestreet |
---|---|
User | oolimry |
Submission Time | 2023-07-17 16:25:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
jame.cpp:2:6: error: ambiguating new declaration of ‘void send(int)’
2 | void send(int x){ return x; }
| ^~~~
In file included from jame.cpp:1:
jame.h:2:5: note: old declaration ‘int send(int)’
2 | int send(int x);
| ^~~~
jame.cpp: In function ‘void send(int)’:
jame.cpp:2:26: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
2 | void send(int x){ return x; }
| ^