0_0_14998614_17683.cpp: In function 'LL ask(int, int, int, int, int)': 0_0_14998614_17683.cpp:100:89: error: expected '}' at end of input if(p[1]+1<=p[2]-1) ret+=B.query(1,2,2*n,p[1]+1,p[2]-1).sum*(p[2]-1 - p[1]-1 +1 )*len; ^