/in/foo.cc: In function 'int main()':
/in/foo.cc:30:33: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]
scanf("%d%d%ld",&n,&h,&r);
^
/in/foo.cc:36:48: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld%ld%ld",&x[j],&y[j],&z[j]);
^
/in/foo.cc:36:48: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:36:48: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]