F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-30 06:48:22, Gzip enabled