Problem | sum |
---|---|
User | Huoi |
Submission Time | 2025-06-16 14:33:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sum.cpp: In function ‘int main()’:
sum.cpp:4:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
4 | cin >> n;
| ^~~
| std::cin
In file included from sum.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~