0_0_32621680_10753.cpp: In function 'int main()':
0_0_32621680_10753.cpp:40:43: error: cannot convert 'long long int*' to 'long int*' for argument '3' to 'void add(long int, long int, long int*)'
add(a/k,c,sum[getnum(a,k)]);
^
0_0_32621680_10753.cpp:41:46: error: cannot convert 'long long int*' to 'long int*' for argument '3' to 'void add(long int, long int, long int*)'
add(b/k+1,-c,sum[getnum(a,k)]);
^
0_0_32621680_10753.cpp:46:52: error: cannot convert 'long long int*' to 'long int*' for argument '2' to 'long long int query(long int, long int*)'
ans+=query(x/k,sum[getnum(x,k)]);
^
|