/in/foo.c: In function 'main':
/in/foo.c:11:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
scanf("%d %d",&n,&k);
^
/in/foo.c:11:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
scanf("%d %d",&n,&k);
^
/in/foo.c:13:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
scanf("%d",&a[i]);
^
/in/foo.c:12:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0; i<n; i++)
^~~
/in/foo.c:14:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
long long int sum[n];
^~~~
/in/foo.c:17:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0; i<k; i++)
^~~
/in/foo.c:19:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=0; i<n; i++) {
^~~
/in/foo.c:30:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("\n%d",count);
^