0_0_31084858_16316.cpp: In function 'void updata(int, int, int, int, int)': 0_0_31084858_16316.cpp:29:16: error: 'updat' was not declared in this scope if ( mid>=x ) updat ^ 0_0_31084858_16316.cpp:29:16: error: expected '}' at end of input