Problem | timeexam |
---|---|
User | carson |
Submission Time | 2025-03-16 11:19:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:7:2: error: ‘hours’ was not declared in this scope; did you mean ‘std::chrono::hours’?
7 | hours = n/60;
| ^~~~~
| std::chrono::hours
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:101,
from timeexam.cpp:1:
/usr/include/c++/9/chrono:620:61: note: ‘std::chrono::hours’ declared here
620 | typedef duration<_GLIBCXX_CHRONO_INT64_T, ratio<3600>> hours;
| ^~~~~