0_0_33287215_19148.cpp: In function 'int update(Node*, int)':
0_0_33287215_19148.cpp:32:46: error: expected ')' before ';' token
if(root->start==root->end&&root->sum>=val;){
^
0_0_33287215_19148.cpp:32:47: error: expected primary-expression before ')' token
if(root->start==root->end&&root->sum>=val;){
^
|