Problem timeexam
User jiazethesigma
Submission Time 2025-10-25 12:29:30
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 ‘string’
10 | min %= 60
| ^
| ;
11 | string hourx,minx;
| ~~~~~~
timeexam.cpp:12:2: error: ‘hourx’ was not declared in this scope; did you mean ‘hours’?
12 | hourx = to_string(hours);
| ^~~~~
| hours
timeexam.cpp:13:2: error: ‘minx’ was not declared in this scope; did you mean ‘min’?
13 | minx = to_string(min);
| ^~~~
| min