| Problem | timeexam |
|---|---|
| User | Yum |
| Submission Time | 2026-02-23 17:41:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:9:2: 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:11:20: error: ‘str’ was not declared in this scope; did you mean ‘std’?
11 | ans = str_hours + str(minutes);
| ^~~
| std