foo.c: In function 'main':
foo.c:54:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[11]' [-Wformat=]
scanf("%s%d:%d:%d%d:%d:%d",&a[i].xh,&h1,&m1,&s1,&h2,&m2,&s2);
~^ ~~~~~~~~
foo.c:50:10: warning: unused variable 'j' [-Wunused-variable]
int n,i,j;
^
foo.c:51:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^~~~~~~~~~~~~~
foo.c:54:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%d:%d:%d%d:%d:%d",&a[i].xh,&h1,&m1,&s1,&h2,&m2,&s2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务