0_0_32170223_21047.cpp: In function 'int main()': 0_0_32170223_21047.cpp:43:11: error: too few arguments to function 'void update(int, int)' update() ^ 0_0_32170223_21047.cpp:11:6: note: declared here void update(int i,int k) { ^