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