0_0_25838017_360.cpp: In function 'int main()': 0_0_25838017_360.cpp:85:17: error: 'ans' was not declared in this scope ans=query(a,b,1,n,1); ^