Problem prefixsums
User krishnakanhaiyabasuribajaiya
Submission Time 2023-11-26 08:55:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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