Problem | timeexam |
---|---|
User | blob |
Submission Time | 2023-11-08 15:40:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:10:8: error: redeclaration of ‘short int H’
10 | short H = N/60 - e;
| ^
timeexam.cpp:9:8: note: ‘short int H’ previously declared here
9 | short H;
| ^
timeexam.cpp:13:8: error: expected initializer before ‘==’ token
13 | int a == e*60;
| ^~
timeexam.cpp:17:9: error: expected initializer before ‘==’ token
17 | int b == H % 24;
| ^~
timeexam.cpp:20:21: error: expected ‘)’ before ‘{’ token
20 | else if (H % 24 > 1 {
| ~ ^~
| )
timeexam.cpp:23:5: error: expected primary-expression before ‘}’ token
23 | }
| ^