0_0_25962554_31804.cpp: In member function 'void node::pushup()':
0_0_25962554_31804.cpp:32:9: error: 'totprice' was not declared in this scope
totprice=ch[0]->totprice+ch[1]->totprice+pri*num;
^
0_0_25962554_31804.cpp:32:25: error: 'struct node' has no member named 'totprice'
totprice=ch[0]->totprice+ch[1]->totprice+pri*num;
^
0_0_25962554_31804.cpp:32:41: error: 'struct node' has no member named 'totprice'
totprice=ch[0]->totprice+ch[1]->totprice+pri*num;
^
0_0_25962554_31804.cpp: In function 'node* Newnode(node*, int)':
0_0_25962554_31804.cpp:41:8: error: 'struct node' has no member named 'totprice'
x->totprice=x->pri*x->num;
^
0_0_25962554_31804.cpp: In function 'void Ins(node*&, int, int)':
0_0_25962554_31804.cpp:81:12: error: 'struct node' has no member named 'totprice'
y->totprice+=p[key]*(pre[key]+m[key]);
^
0_0_25962554_31804.cpp: In function 'int main()':
0_0_25962554_31804.cpp:155:34: error: 'struct node' has no member named 'totprice'
ll res=x->ch[0]->totprice;
^
|