0_0_34228847_20257.cpp:138:5: error: 'T' does not name a type
T[maxn+10];
^
0_0_34228847_20257.cpp: In function 'int President_Tree::President_Tree_init()':
0_0_34228847_20257.cpp:149:16: error: 'T' was not declared in this scope
memset(T, 0, sizeof(T));
^
0_0_34228847_20257.cpp: In function 'void solve()':
0_0_34228847_20257.cpp:215:9: error: 'T' is not a member of 'President_Tree'
President_Tree::T[0]=President_Tree::build(1, cntb);
^
0_0_34228847_20257.cpp:219:13: error: 'T' is not a member of 'President_Tree'
President_Tree::T[i]=President_Tree::update(President_Tree::T[i-1], 1, cntb, index);
^
0_0_34228847_20257.cpp:219:57: error: 'T' is not a member of 'President_Tree'
President_Tree::T[i]=President_Tree::update(President_Tree::T[i-1], 1, cntb, index);
^
0_0_34228847_20257.cpp:262:50: error: 'T' is not a member of 'President_Tree'
printf("%d\n", President_Tree::query(President_Tree::T[ansL-1], President_Tree::T[R], 1, cntb, k));
^
0_0_34228847_20257.cpp:262:77: error: 'T' is not a member of 'President_Tree'
printf("%d\n", President_Tree::query(President_Tree::T[ansL-1], President_Tree::T[R], 1, cntb, k));
^
|