Problem | timeexam |
---|---|
User | Tonko |
Submission Time | 2025-05-29 16:14:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:12:2: error: expected ‘}’ before ‘else’
12 | else if (hours < 10){
| ^~~~
timeexam.cpp:10:34: note: to match this ‘{’
10 | if (hours < 10 and minutes < 10){
| ^
timeexam.cpp:17:2: error: expected ‘}’ before ‘else’
17 | else{
| ^~~~
timeexam.cpp:15:24: note: to match this ‘{’
15 | else if (minutes < 10){
| ^