/in/foo.cc: In member function 'void node::split(int, node*&, node*&)':
/in/foo.cc:31:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k <= l->c) {
~~^~~~~~~
/in/foo.cc: In member function 'void node::print()':
/in/foo.cc:49:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("id=%d v=%d c=%d sum=%lld\n",this-null,v,c,sum);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:129:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'LL {aka long long int}' [-Wformat=]
printf("%d\n",comp(x,y));
^