0_0_19758636_18177.cpp: In function 'long long int qry(int, int)': 0_0_19758636_18177.cpp:49:14: error: 'sum' was not declared in this scope else return sum[L[nth]]+qry(k-tot[L[nth]], R[nth]); ^