0_0_21102101_21657.cpp: In function 'void update(int, int, int, int, int, int)':
0_0_21102101_21657.cpp:35:5: error: 'rt' was not declared in this scope
f[rt].s=f[rt+1].s=f[root].s;
^
0_0_21102101_21657.cpp:37:12: error: 'mid' was not declared in this scope
f[rt].t=(mid-left+1)*f[rt].s;
^
|