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_14859440_19602.cpp:12:2: error: 'll' does not name a type
  ll a[4];
  ^
0_0_14859440_19602.cpp: In function 'void tree_build(int, int, int)':
0_0_14859440_19602.cpp:21:13: error: 'struct NODE' has no member named 'a'
   tree[num].a[NUM(l,r)] = x[l]; 
             ^
0_0_14859440_19602.cpp:31:12: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
            ^
0_0_14859440_19602.cpp:31:32: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
                                ^
0_0_14859440_19602.cpp:31:48: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
                                                ^
0_0_14859440_19602.cpp:31:67: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
                                                                   ^
0_0_14859440_19602.cpp:31:82: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
                                                                                  ^
0_0_14859440_19602.cpp:32:12: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
            ^
0_0_14859440_19602.cpp:32:32: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
                                ^
0_0_14859440_19602.cpp:32:48: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
                                                ^
0_0_14859440_19602.cpp:32:67: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
                                                                   ^
0_0_14859440_19602.cpp:32:82: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
                                                                                  ^
0_0_14859440_19602.cpp:33:12: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
            ^
0_0_14859440_19602.cpp:33:32: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
                                ^
0_0_14859440_19602.cpp:33:48: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
                                                ^
0_0_14859440_19602.cpp:33:67: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
                                                                   ^
0_0_14859440_19602.cpp:33:82: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
                                                                                  ^
0_0_14859440_19602.cpp:34:12: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
            ^
0_0_14859440_19602.cpp:34:32: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
                                ^
0_0_14859440_19602.cpp:34:48: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
                                                ^
0_0_14859440_19602.cpp:34:67: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
                                                                   ^
0_0_14859440_19602.cpp:34:82: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
                                                                                  ^
0_0_14859440_19602.cpp: In function 'void tree_change(int, int, int, int, LL)':
0_0_14859440_19602.cpp:40:13: error: 'struct NODE' has no member named 'a'
   tree[num].a[NUM(l,r)] = x[l];
             ^
0_0_14859440_19602.cpp:48:12: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
            ^
0_0_14859440_19602.cpp:48:32: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
                                ^
0_0_14859440_19602.cpp:48:48: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
                                                ^
0_0_14859440_19602.cpp:48:67: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
                                                                   ^
0_0_14859440_19602.cpp:48:82: error: 'struct NODE' has no member named 'a'
  tree[num].a[0] = max(tree[n1].a[1] + tree[n2].a[2], max(tree[n1].a[0], tree[n2].a[0]));
                                                                                  ^
0_0_14859440_19602.cpp:49:12: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
            ^
0_0_14859440_19602.cpp:49:32: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
                                ^
0_0_14859440_19602.cpp:49:48: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
                                                ^
0_0_14859440_19602.cpp:49:67: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
                                                                   ^
0_0_14859440_19602.cpp:49:82: error: 'struct NODE' has no member named 'a'
  tree[num].a[1] = max(tree[n1].a[1] + tree[n2].a[1], max(tree[n1].a[1], tree[n2].a[1]));
                                                                                  ^
0_0_14859440_19602.cpp:50:12: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
            ^
0_0_14859440_19602.cpp:50:32: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
                                ^
0_0_14859440_19602.cpp:50:48: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
                                                ^
0_0_14859440_19602.cpp:50:67: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
                                                                   ^
0_0_14859440_19602.cpp:50:82: error: 'struct NODE' has no member named 'a'
  tree[num].a[2] = max(tree[n1].a[2] + tree[n2].a[2], max(tree[n1].a[2], tree[n2].a[2]));
                                                                                  ^
0_0_14859440_19602.cpp:51:12: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
            ^
0_0_14859440_19602.cpp:51:32: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
                                ^
0_0_14859440_19602.cpp:51:48: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
                                                ^
0_0_14859440_19602.cpp:51:67: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
                                                                   ^
0_0_14859440_19602.cpp:51:82: error: 'struct NODE' has no member named 'a'
  tree[num].a[3] = max(tree[n1].a[2] + tree[n2].a[1], max(tree[n1].a[3], tree[n2].a[3])); 
                                                                                  ^
0_0_14859440_19602.cpp: In function 'NODE query(int, int, int, int, int)':
0_0_14859440_19602.cpp:55:44: error: too many initializers for 'NODE'
  if (r < L || R > l) return NODE{0, 0, 0, 0};
                                            ^
0_0_14859440_19602.cpp:63:6: error: 'struct NODE' has no member named 'a'
  res.a[0] = max(tl.a[1] + tr.a[2], max(tl.a[0], tr.a[0]));
      ^
0_0_14859440_19602.cpp:63:20: error: 'struct NODE' has no member named 'a'
  res.a[0] = max(tl.a[1] + tr.a[2], max(tl.a[0], tr.a[0]));
                    ^
0_0_14859440_19602.cpp:63:30: error: 'struct NODE' has no member named


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-17 14:17:52, Gzip enabled