Problem | adjlist |
---|---|
User | Ush |
Submission Time | 2023-11-10 14:26:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp: In function ‘int32_t main()’:
adjlist.cpp:18:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
18 | cout <<j; << " ";
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from adjlist.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
adjlist.cpp:18:12: error: expected primary-expression before ‘<<’ token
18 | cout <<j; << " ";
| ^~