0_0_37652462_4718.cpp: In function 'void pushup(Node&, Node&, Node&)':
0_0_37652462_4718.cpp:45:16: error: 'ans1' was not declared in this scope
u.ans1=max(ans1,r.lmax1+l.rmax1);
^
0_0_37652462_4718.cpp:49:16: error: 'ans0' was not declared in this scope
u.ans0=max(ans0,r.lmax0+l.rmax0);
^
|