Problem | evenorodd |
---|---|
User | idk |
Submission Time | 2023-01-09 21:54:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp:5:1: error: ‘string’ does not name a type; did you mean ‘stdin’?
5 | string r;
| ^~~~~~
| stdin
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:9:2: error: ‘r’ was not declared in this scope
9 | r = (n % 2 == 1) ? "odd": "even";
| ^