/in/foo.cc: In function 'int main()':
/in/foo.cc:24:48: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
for (int i=1; i<=n; i++) scanf("%lld",&a[i]);
^
/in/foo.cc:28:37: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
if (i%t==0) printf("%lld ",k);
^
/in/foo.cc:36:37: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
if (i%t==0) printf("%lld ",k);
^