/in/foo.cc: In function 'long long int cal(long long int, long long int, long long int, long long int, long long int, long long int)':
/in/foo.cc:19:20: warning: unused variable 'cab' [-Wunused-variable]
long long int caa,cab,ca;
^~~
/in/foo.cc:19:24: warning: unused variable 'ca' [-Wunused-variable]
long long int caa,cab,ca;
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:31:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
scanf("%d%d%d",&l,&h,&r);
^
/in/foo.cc:31:25: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:36:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
scanf("%d%d%d",&l,&h,&r);
^
/in/foo.cc:36:26: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]