Problem leftright
User kesleryak
Submission Time 2024-04-23 20:02:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

leftright.cpp: In function ‘int main()’:
leftright.cpp:7:2: error: ‘ios_base’ has not been declared
7 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
leftright.cpp:8:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
8 | cin.tie(NULL);
| ^~~
| std::cin
In file included from leftright.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~