0_0_22368606_6072.cpp:15:9: error: expected ';' at end of member declaration
int val?//记录这个点所表示的区间是否被线段所覆盖
^
0_0_22368606_6072.cpp:15:12: error: expected unqualified-id before '?' token
int val?//记录这个点所表示的区间是否被线段所覆盖
^
0_0_22368606_6072.cpp: In function 'void push_up(int)':
0_0_22368606_6072.cpp:44:14: error: 'struct edge1' has no member named 'len'
tree[id].len=tree[lson].len+tree[rson].len;
^
0_0_22368606_6072.cpp:44:29: error: 'struct edge1' has no member named 'len'
tree[id].len=tree[lson].len+tree[rson].len;
^
0_0_22368606_6072.cpp:44:44: error: 'struct edge1' has no member named 'len'
tree[id].len=tree[lson].len+tree[rson].len;
^
0_0_22368606_6072.cpp: In function 'void build_tree(int, int, int)':
0_0_22368606_6072.cpp:53:18: error: 'struct edge1' has no member named 'len'
tree[id].len=0;
^
0_0_22368606_6072.cpp: In function 'void add_tree(int, int, int, int, int, int)':
0_0_22368606_6072.cpp:66:18: error: 'struct edge1' has no member named 'len'
tree[id].len=0;
^
0_0_22368606_6072.cpp:69:18: error: 'struct edge1' has no member named 'len'
tree[id].len=mpy[l+1]-mpy[l];
^
0_0_22368606_6072.cpp: In function 'int main()':
0_0_22368606_6072.cpp:142:26: error: 'struct edge1' has no member named 'len'
ans+=tree[1].len*(s[i].xnow-s[i-1].xnow);
^
|