| Problem | timeexam |
|---|---|
| User | chatdanai |
| Submission Time | 2025-11-13 12:07:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:9:5: error: ‘minutes’ was not declared in this scope; did you mean ‘std::chrono::minutes’?
9 | minutes = n%60;
| ^~~~~~~
| std::chrono::minutes
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:617:61: note: ‘std::chrono::minutes’ declared here
617 | typedef duration<_GLIBCXX_CHRONO_INT64_T, ratio< 60>> minutes;
| ^~~~~~~
timeexam.cpp:12:20: error: expected ‘;’ before ‘}’ token
12 | mins = "00"
| ^
| ;
13 | }
| ~
timeexam.cpp:21:5: error: ‘hours’ was not declared in this scope; did you mean ‘std::chrono::hours’?
21 | hours = n%24;
| ^~~~~
| std::chrono::hours