Problem | timeexam |
---|---|
User | Hytoh |
Submission Time | 2023-02-19 11:29:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:8:16: error: redeclaration of ‘long long int hour’
8 | long long int hour = n / 60;
| ^~~~
timeexam.cpp:4:19: note: ‘long long int hour’ previously declared here
4 | long long int n, hour, min;
| ^~~~
timeexam.cpp:9:16: error: redeclaration of ‘long long int min’
9 | long long int min = n % 60;
| ^~~
timeexam.cpp:4:25: note: ‘long long int min’ previously declared here
4 | long long int n, hour, min;
| ^~~
timeexam.cpp:17:14: error: expected ‘;’ before ‘cout’
17 | cout << "0"
| ^
| ;
18 | cout << min << endl;
| ~~~~