Problem timeexam
User Gaoyuting67
Submission Time 2026-10-26 19:36:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:17:28: error: expected ‘)’ before ‘{’ token
17 | else if (h == 0 && m >= 10 {
| ~ ^~
| )
timeexam.cpp:28:2: error: expected primary-expression before ‘}’ token
28 | }
| ^
timeexam.cpp: At global scope:
timeexam.cpp:29:3: error: expected unqualified-id before ‘else’
29 | else {
| ^~~~
timeexam.cpp:38:1: error: expected declaration before ‘}’ token
38 | }
| ^