0_0_39436521_18730.cpp:38:12: error: redefinition of 'int newpoint_fhqtreap(int)'
38 | inline int newpoint_fhqtreap(int val){
| ^~~~~~~~~~~~~~~~~
0_0_39436521_18730.cpp:30:12: note: 'int newpoint_fhqtreap(int)' previously defined here
30 | inline int newpoint_fhqtreap(int val){
| ^~~~~~~~~~~~~~~~~
0_0_39436521_18730.cpp: In function 'int newpoint_fhqtreap(int)':
0_0_39436521_18730.cpp:43:17: error: 'struct fanhaoqiangtreap' has no member named 'tg2'
43 | tr[num].tg2=1;
| ^~~
0_0_39436521_18730.cpp: In function 'void pushup_fhqtreap(int)':
0_0_39436521_18730.cpp:53:73: error: 'MOD' was not declared in this scope
53 | tr[u].sum=(tr[tr[u].son[0]].sum+tr[tr[u].son[1]].sum+tr[u].val)%MOD;
| ^~~
|