/in/foo.cc: In function 'void kp(int, int)':
/in/foo.cc:7:12: warning: unused variable 'e' [-Wunused-variable]
int b,c,d,e;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d%d",&n,&m);
^
/in/foo.cc:25:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
/in/foo.cc:27:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&a[i]);
^
/in/foo.cc:35:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d", sum);
^