| Problem | timeexam |
|---|---|
| User | elegantarmour |
| Submission Time | 2025-08-01 23:17:32 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
timeexam.cpp:2:7: error: expected nested-name-specifier before ‘namepsace’
2 | using namepsace std;
| ^~~~~~~~~
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:5:9: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
5 | int N; cin >> N;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from timeexam.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
timeexam.cpp:17:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
17 | cout << (hour*100)+min;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from timeexam.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared