Problem timeexam
User Krishh101
Submission Time 2025-12-11 20:07:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:8:11: error: expected ‘;’ before ‘int’
8 | n %= 1440
| ^
| ;
9 | int h = n % 60;
| ~~~
timeexam.cpp:10:12: error: ‘h’ was not declared in this scope
10 | int res = h * 100 + n;
| ^