Problem evenorodd
User Qxhb3
Submission Time 2023-04-09 13:11:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:9:10: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
9 | return "even";
| ^~~~~~
| |
| const char*
evenorodd.cpp:12:10: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
12 | return "odd";
| ^~~~~
| |
| const char*