Problem timeexam
User CheesyChez
Submission Time 2026-10-25 15:14:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:8:6: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
8 | (cin >> n) {
| ^~~
| std::cin
In file included from timeexam.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~