/in/foo.cc: In function 'int main()':
/in/foo.cc:14:9: error: expected '}' before 'else'
14 | else
| ^~~~
/in/foo.cc:12:9: note: to match this '{'
12 | {
| ^
/in/foo.cc:14:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
14 | else
| ^~~~
/in/foo.cc:16:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
16 | t1++;
| ^~
/in/foo.cc:6:13: warning: unused variable 'h2' [-Wunused-variable]
6 | int h1, h2, m1, m2, s1, s2, t, t1, t2;
| ^~
/in/foo.cc:6:21: warning: unused variable 'm2' [-Wunused-variable]
6 | int h1, h2, m1, m2, s1, s2, t, t1, t2;
| ^~
/in/foo.cc: At global scope:
/in/foo.cc:18:9: error: expected unqualified-id before 'if'
18 | if(m1 + t1 <= 23)
| ^~
/in/foo.cc:25:9: error: expected unqualified-id before 'if'
25 | if(h1 + t2 <= 23)
| ^~
/in/foo.cc:31:9: error: 'cout' does not name a type
31 | cout << h2 << m2 << s2 <<endl;
| ^~~~
/in/foo.cc:32:9: error: expected unqualified-id before 'return'
32 | return 0;
| ^~~~~~
/in/foo.cc:33:1: error: expected declaration before '}' token
33 | }
| ^