Problem | dayum |
---|---|
User | Haritha |
Submission Time | 2025-06-20 13:11:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dayum.cpp: In function ‘int main()’:
dayum.cpp:7:3: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
7 | cin >> n;
| ^~~
| std::cin
In file included from dayum.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
dayum.cpp:11:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
11 | cout << n - 15 << endl;
| ^~~~
| std::cout
In file included from dayum.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
dayum.cpp:11:23: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
11 | cout << n - 15 << endl;
| ^~~~
|