Problem | veryeasyproblem |
---|---|
User | Duk168 |
Submission Time | 2024-02-08 22:50:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
veryeasyproblem.cpp:2:2: error: invalid preprocessing directive #using
2 | #using namespace std;
| ^~~~~
veryeasyproblem.cpp: In function ‘int main()’:
veryeasyproblem.cpp:4:17: error: declaration does not declare anything [-fpermissive]
4 | #define ll long long;
| ^~~~
veryeasyproblem.cpp:7:2: note: in expansion of macro ‘ll’
7 | ll n;
| ^~
veryeasyproblem.cpp:7:5: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | ll n;
| ^
| yn
veryeasyproblem.cpp:8:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
8 | cout << n;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from veryeasyproblem.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output