/in/foo.cc: In function 'int main()':
/in/foo.cc:23:43: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d%d%d%d%d",&n,&m,&q,&u,&v,&t);
^
/in/foo.cc:23:43: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:43: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:43: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:43: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:43: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'long long int*' [-Wformat=]
/in/foo.cc:25:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&a[0][i]);
^
/in/foo.cc:50:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ",now);
^
/in/foo.cc:64:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ",now+ans);
^