/in/foo.cc: In function 'int main()':
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
  scanf("%d%d%d%d%d%d%d%d%d",&l1,&l2,&l3,&c1,&c2,&c3,&n,&s,&t);
                             ~~~                             ^
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 8 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 9 has type 'long int*' [-Wformat=]
/in/foo.cc:10:61: warning: format '%d' expects argument of type 'int*', but argument 10 has type 'long int*' [-Wformat=]
/in/foo.cc:9:7: warning: unused variable 'i' [-Wunused-variable]
  long i,j;
       ^
/in/foo.cc:9:9: warning: unused variable 'j' [-Wunused-variable]
  long i,j;
         ^