| Problem | timeexam |
|---|---|
| User | sporknives |
| Submission Time | 2025-05-27 22:07:35 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:10:9: error: conflicting declaration ‘std::string min’
10 | string min = to_string(min);
| ^~~
timeexam.cpp:8:6: note: previous declaration as ‘long long int min’
8 | int min = n % 60;
| ^~~
timeexam.cpp:12:24: error: invalid conversion from ‘const char*’ to ‘long long int’ [-fpermissive]
12 | if (min<10) min = "0" + min;
| ~~~~^~~~~
| |
| const char*