/in/foo.cc: In function 'int main()':
/in/foo.cc:15:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&a);
^
/in/foo.cc:19:29: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld%ld%ld",&x,&y,&z);
^
/in/foo.cc:19:29: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:19:29: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:18: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld",&b);
^
/in/foo.cc:12:12: warning: unused variable 'n' [-Wunused-variable]
long long n[2000]={0};
^
/in/foo.cc:13:12: warning: unused variable 'cnt' [-Wunused-variable]
long long cnt=0;
^~~