Problem | timeexam |
---|---|
User | isaackhong |
Submission Time | 2023-01-08 17:16:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:6:5: error: ‘n’ was not declared in this scope
6 | n; cin >> n;
| ^
timeexam.cpp:9:5: error: ‘hr’ was not declared in this scope
9 | hr = n / 60;
| ^~
timeexam.cpp:15:9: error: parse error in template argument list
15 | if (min < 10){
| ^~~~~~~~
timeexam.cpp:15:17: error: cannot resolve overloaded function ‘min’ based on conversion to type ‘bool’
15 | if (min < 10){
| ^
timeexam.cpp:18:13: error: ‘mi’ was not declared in this scope; did you mean ‘main’?
18 | cout << mi
| ^~
| main
timeexam.cpp:18:13: error: expected ‘}’ at end of input
timeexam.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^