Problem | evenorodd |
---|---|
User | Qxhb3 |
Submission Time | 2023-04-09 13:11:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:9:16: error: expected ‘;’ before ‘}’ token
9 | return "even"
| ^
| ;
10 | }
| ~
evenorodd.cpp:12:10: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
12 | return "odd"
| ^~~~~
| |
| const char*
evenorodd.cpp:12:15: error: expected ‘;’ before ‘}’ token
12 | return "odd"
| ^
| ;
13 | }
| ~