/in/foo.cc: In function 'int main()':
/in/foo.cc:14:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&a);
^
/in/foo.cc:18: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:18:29: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:18:29: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:22: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:25:3: error: 'cout' was not declared in this scope
cout<<y<<endl;
^~~~
/in/foo.cc:25:12: error: 'endl' was not declared in this scope
cout<<y<<endl;
^~~~
/in/foo.cc:11:12: warning: unused variable 'n' [-Wunused-variable]
long long n[2000]={0};
^
/in/foo.cc:12:12: warning: unused variable 'cnt' [-Wunused-variable]
long long cnt=0;
^~~