Problem timeexam
User blob
Submission Time 2023-11-08 15:31:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:7:10: error: expected initializer before ‘<’ token
7 | short e < 1;
| ^
timeexam.cpp:9:10: error: expected initializer before ‘==’ token
9 | short H == N/60 - e;
| ^~
timeexam.cpp:10:9: error: ‘H’ was not declared in this scope
10 | cin >> H;;
| ^
timeexam.cpp:11:8: error: expected initializer before ‘==’ token
11 | int a == e*60;
| ^~
timeexam.cpp:12:9: error: ‘a’ was not declared in this scope
12 | cin >> a;
| ^
timeexam.cpp:14:9: error: expected initializer before ‘==’ token
14 | int b === H % 24;
| ^~
timeexam.cpp:15:11: error: ‘b’ was not declared in this scope
15 | cout << b << a;
| ^
timeexam.cpp:17:21: error: expected ‘)’ before ‘{’ token
17 | else if (H % 24 > 1 {
| ~