/in/foo.cc: In member function 'void node::merge(long long int, long long int)':
/in/foo.cc:24:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=b;i<cnt;i++)dat[i]=dat[i+1];dat[cnt]=0;
^~~
/in/foo.cc:24:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i=b;i<cnt;i++)dat[i]=dat[i+1];dat[cnt]=0;
^~~
/in/foo.cc: In function 'int_t main()':
/in/foo.cc:73:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",ans);
^