Problem timeexam
User KingH
Submission Time 2025-08-25 16:22:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:8:12: error: redeclaration of ‘long long int minute’
8 | long long minute = N / 60;
| ^~~~~~
timeexam.cpp:7:12: note: ‘long long int minute’ previously declared here
7 | long long minute = N % 60;
| ^~~~~~
timeexam.cpp:9:2: error: ‘hour’ was not declared in this scope
9 | hour = minute/60;
| ^~~~