0_0_18384497_12294.cpp: In function 'int main()': 0_0_18384497_12294.cpp:53:40: error: 'Update' was not declared in this scope Update(x[i] , 0 , n - 1 , 1); ^