0_0_33602072_21221.cpp: In function 'int main()':
0_0_33602072_21221.cpp:87:15: error: 'struct Segment_Tree' has no member named 'Build'
T.Build(1, 1, m1);
^
0_0_33602072_21221.cpp:91:23: error: 'struct Segment_Tree' has no member named 'Update'
T.Update(1, 1, m1, p[x].x, p[x].w);
^
0_0_33602072_21221.cpp:29:20: error: 'struct Segment_Tree' has no member named 'Tre'
#define Max(x) Tre[x].max
^
0_0_33602072_21221.cpp:93:39: note: in expansion of macro 'Max'
Ans = std::max(Ans, T.Max(1));
^
|