/in/foo.cc: In function 'void sort(long long int, long long int)':
/in/foo.cc:28:16: warning: unused variable 'p' [-Wunused-variable]
ll i,j,mid,p;
^
/in/foo.cc: In function 'int check(long long int, long long int, long long int)':
/in/foo.cc:78:11: warning: unused variable 'number' [-Wunused-variable]
ll ans=0,number=c*c;
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:111:36: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
else printf("%lld\n",check(l,r,c));
^