Problem | timeexam |
---|---|
User | Hytoh |
Submission Time | 2023-02-13 12:29:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp:8:29: error: missing terminating ' character
8 | long long int hour = n / 60'
| ^
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘long’
9 | long long int min = n % 60;
| ^~~~
timeexam.cpp:12:14: error: expected ‘;’ before ‘cout’
12 | cout << "0"
| ^
| ;
13 | cout << hour;
| ~~~~
timeexam.cpp:16:6: error: parse error in template argument list
16 | if (min < 10)
| ^~~~~~~~
timeexam.cpp:16:14: error: cannot resolve overloaded function ‘min’ based on conversion to type ‘bool’
16 | if (min < 10)
| ^
timeexam.cpp:17:14: error: expected ‘;’ before ‘cout’
17 | cout << "0"
| ^
| ;
18 | cout << min << endl;
| ~~~~
ti