Problem timeexam
User aiden
Submission Time 2026-07-04 15:15:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:7:5: error: expected unqualified-id before ‘=’ token
7 | tm = m%1440;
| ^
timeexam.cpp:8:2: error: ‘h’ was not declared in this scope
8 | h = tm/60;
| ^
timeexam.cpp:8:8: error: expected primary-expression before ‘/’ token
8 | h = tm/60;
| ^
timeexam.cpp:9:2: error: ‘m’ was not declared in this scope
9 | m = tm%60;
| ^
timeexam.cpp:9:8: error: expected primary-expression before ‘%’ token
9 | m = tm%60;
| ^