Problem timeexam
User Hytoh
Submission Time 2023-02-19 10:51:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:19:16: error: expected ‘;’ before ‘long’
19 | n %= 60*24
| ^
| ;
20 | long long hour = n / 60;
| ~~~~
timeexam.cpp:24:10: error: ‘hour’ was not declared in this scope
24 | if (hour < 10) {
| ^~~~