Problem conversations_easy
User ETkilobyte
Submission Time 2024-10-21 16:13:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conversations_easy.cpp: In function ‘int main()’:
conversations_easy.cpp:6:36: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | std::ios_base::sync_with_stdio(0);cin.tie(nullptr);cout.tie(nullptr);
| ^~~
| std::cin
In file included from conversations_easy.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
conversations_easy.cpp:6:53: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
6 | std::ios_base::sync_with_stdio(0);cin.tie(nullptr);cout.tie(nullptr);
| ^~~~
| std::cout
In file included from conversations_easy.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared her