Problem | evenorodd |
---|---|
User | Ush |
Submission Time | 2023-11-09 09:25:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:5:1: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
5 | cin >> number;
| ^~~
| std::cin
In file included from evenorodd.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
evenorodd.cpp:8:8: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
8 | cout << "Even"
| ^~~~
| std::cout
In file included from evenorodd.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
evenorodd.cpp:10:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
10 | cout << "Odd"
| ^~~~
| std::cout
In file included from evenor