Problem timeexam
User Hengweezy
Submission Time 2024-02-01 00:08:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:7:14: error: expected ‘;’ before ‘int’
7 | a = a % 1440
| ^
| ;
8 | int min = a %60;
| ~~~
timeexam.cpp:11:22: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator+’
11 | cout << hours * 100 + min;
| ~~~~~~~~~~~~^~~~~