0_0_27291844_28799.cpp: In function 'long long int query(int, int, int, int, int)':
0_0_27291844_28799.cpp:131:29: error: too few arguments to function 'long long int query(int, int, int, int, int)'
return query(L,R,k*2)+query(L,R,k*2+1);
^
0_0_27291844_28799.cpp:118:11: note: declared here
long long query(int L,int R,int k,int ut,int dt)
^
0_0_27291844_28799.cpp:131:46: error: too few arguments to function 'long long int query(int, int, int, int, int)'
return query(L,R,k*2)+query(L,R,k*2+1);
^
0_0_27291844_28799.cpp:118:11: note: declared here
long long query(int L,int R,int k,int ut,int dt)
^
0_0_27291844_28799.cpp:134:34: error: too few arguments to function 'long long int query(int, int, int, int, int)'
if(L<=mid) ans+=query(L,R,k*2);
^
0_0_27291844_28799.cpp:118:11: note: declared here
long long query(int L,int R,int k,int ut,int dt)
^
0_0_27291844_28799.cpp:135:35: error: too few arguments to function 'long long int query(int, int, int, int, int)'
if(R>mid) ans+=query(L,R,k*2+1);
^
0_0_27291844_28799.cpp:118:11: note: declared here
long long query(int L,int R,int k,int ut,int dt)
^
0_0_27291844_28799.cpp: In function 'long long int solve(int, int, int, int)':
0_0_27291844_28799.cpp:150:32: error: too few arguments to function 'long long int query(int, int, int, int, int)'
ans+=query(p[f1],p[u],1);
^
0_0_27291844_28799.cpp:118:11: note: declared here
long long query(int L,int R,int k,int ut,int dt)
^
0_0_27291844_28799.cpp:158:27: error: too few arguments to function 'long long int query(int, int, int, int, int)'
ans+=query(p[u],p[v],1);
^
0_0_27291844_28799.cpp:118:11: note: declared here
long long query(int L,int R,int k,int ut,int dt)
^
|