Problem | dogmonkey |
---|---|
User | LCJLY |
Submission Time | 2023-01-12 10:58:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dogmonkey.cpp:2:7: error: expected nested-name-specifier before ‘mamespace’
2 | using mamespace std;
| ^~~~~~~~~
cc1plus: error: ‘::main’ must return ‘int’
dogmonkey.cpp: In function ‘int main()’:
dogmonkey.cpp:7:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
7 | cout << 1;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from dogmonkey.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~