0_0_29755331_22166.cpp: In function 'int main()': 0_0_29755331_22166.cpp:136:21: error: expected ';' before 'tmp' tmp=seg.getmax(1,l,r); ^