foo.c: In function 'main':
foo.c:14:16: error: invalid suffix ";" on integer constant
14 | x1 = time1 % 100;
| ^~~~~
foo.c:14:21: error: expected ';' before 'y2'
14 | x1 = time1 % 100;
| ^
| ;
15 | y2 = time2 / 10000;
| ~~
foo.c:21:9: error: expected ';' before 'if'
21 | x1++
| ^
| ;
22 | if(x1 == month[m1])
| ~~
foo.c:28:1: error: expected declaration or statement at end of input
28 | }
| ^
foo.c:18:7: warning: unused variable 'ans' [-Wunused-variable]
18 | int ans = 1;
| ^~~
[Hydro](https://hydro.ac)提供评测服务