0_0_39238618_31917.cpp: In function 'long long int query(long long int)': 0_0_39238618_31917.cpp:48:14: error: 'n' was not declared in this scope 48 | if(tot < n ) rank -= 1; | ^