Problem timeexam
User yq
Submission Time 2026-06-25 21:30:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘int’
9 | int m = n % 60;
| ^~~
timeexam.cpp:11:23: error: ‘m’ was not declared in this scope
11 | cout << "0" << h << m
| ^
timeexam.cpp:14:19: error: ‘m’ was not declared in this scope
14 | cout << "00" << m
| ^
timeexam.cpp:17:16: error: ‘m’ was not declared in this scope
17 | cout << h << m
| ^