/in/foo.c: In function 'main':
/in/foo.c:16:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[25]' [-Wformat=]
scanf("%s %d %d %c %c %d",&s,&a[i],&b[i],&x,&y,&c[i]);
^
/in/foo.c:16:14: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
scanf("%s %d %d %c %c %d",&s,&a[i],&b[i],&x,&y,&c[i]);
^
/in/foo.c:16:17: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long int *' [-Wformat=]
scanf("%s %d %d %c %c %d",&s,&a[i],&b[i],&x,&y,&c[i]);
^
/in/foo.c:16:26: warning: format '%d' expects argument of type 'int *', but argument 7 has type 'long int *' [-Wformat=]
scanf("%s %d %d %c %c %d",&s,&a[i],&b[i],&x,&y,&c[i]);
^
/in/foo.c:35:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
printf("%s\n%d\n%d",s1,count[j],sum);
^
/in/foo.c:35:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
printf("%s\n%d\n%d",s1,count[j],sum);
^
/in/foo.c:12:11: warning: iteration 1000 invokes undefined behavior [-Waggressive-loop-optimizations]
count[i]=0;
~~~~~~~~^~
/in/foo.c:11:2: note: within this loop
for(i=1;i<=1001;i++)
^~~