Problem fenwicktree_easy
User Aum
Submission Time 2023-11-06 19:26:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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