Problem timeexam
User jiazethesigma
Submission Time 2025-10-25 12:29:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:10:11: error: expected ‘;’ before ‘hourx’
10 | min %= 60
| ^
| ;
11 | hourx = to_string(hours);
| ~~~~~
timeexam.cpp:12:2: error: ‘minx’ was not declared in this scope; did you mean ‘min’?
12 | minx = to_string(min);
| ^~~~
| min
timeexam.cpp:15:3: error: ‘hourx’ was not declared in this scope; did you mean ‘hours’?
15 | hourx = "0"+hourx;
| ^~~~~
| hours
timeexam.cpp:21:8: error: ‘hourx’ was not declared in this scope; did you mean ‘hours’?
21 | cout<<hourx<<minx;
| ^~~~~
| hours