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_14232372_30256.cpp: In function 'void build(int, int, int)':
0_0_14232372_30256.cpp:33:19: error: 'struct node' has no member named 'max1'
             a[rt].max1=num[l];  
                   ^
0_0_14232372_30256.cpp:34:19: error: 'struct node' has no member named 'max2'
             a[rt].max2=-inf;  
                   ^
0_0_14232372_30256.cpp:35:19: error: 'struct node' has no member named 'max3'
             a[rt].max3=-inf;  
                   ^
0_0_14232372_30256.cpp:36:19: error: 'struct node' has no member named 'max4'
             a[rt].max4=-inf;  
                   ^
0_0_14232372_30256.cpp:40:19: error: 'struct node' has no member named 'max1'
             a[rt].max1=-inf;  
                   ^
0_0_14232372_30256.cpp:41:19: error: 'struct node' has no member named 'max2'
             a[rt].max2=-inf;  
                   ^
0_0_14232372_30256.cpp:42:19: error: 'struct node' has no member named 'max3'
             a[rt].max3=-inf;  
                   ^
0_0_14232372_30256.cpp:43:19: error: 'struct node' has no member named 'max4'
             a[rt].max4=num[l];  
                   ^
0_0_14232372_30256.cpp:50:11: error: 'struct node' has no member named 'max1'
     a[rt].max1=max(a[rt<<1|1].max1,max(a[rt<<1].max1,max(a[rt<<1].max1+a[rt<<1|1].max3,a[rt<<1].max2+a[rt<<1|1].max1)));  
           ^
0_0_14232372_30256.cpp:50:31: error: 'struct node' has no member named 'max1'
     a[rt].max1=max(a[rt<<1|1].max1,max(a[rt<<1].max1,max(a[rt<<1].max1+a[rt<<1|1].max3,a[rt<<1].max2+a[rt<<1|1].max1)));  
                               ^
0_0_14232372_30256.cpp:50:49: error: 'struct node' has no member named 'max1'
     a[rt].max1=max(a[rt<<1|1].max1,max(a[rt<<1].max1,max(a[rt<<1].max1+a[rt<<1|1].max3,a[rt<<1].max2+a[rt<<1|1].max1)));  
                                                 ^
0_0_14232372_30256.cpp:50:67: error: 'struct node' has no member named 'max1'
     a[rt].max1=max(a[rt<<1|1].max1,max(a[rt<<1].max1,max(a[rt<<1].max1+a[rt<<1|1].max3,a[rt<<1].max2+a[rt<<1|1].max1)));  
                                                                   ^
0_0_14232372_30256.cpp:50:83: error: 'struct node' has no member named 'max3'
     a[rt].max1=max(a[rt<<1|1].max1,max(a[rt<<1].max1,max(a[rt<<1].max1+a[rt<<1|1].max3,a[rt<<1].max2+a[rt<<1|1].max1)));  
                                                                                   ^
0_0_14232372_30256.cpp:50:97: error: 'struct node' has no member named 'max2'
     a[rt].max1=max(a[rt<<1|1].max1,max(a[rt<<1].max1,max(a[rt<<1].max1+a[rt<<1|1].max3,a[rt<<1].max2+a[rt<<1|1].max1)));  
                                                                                                 ^
0_0_14232372_30256.cpp:50:113: error: 'struct node' has no member named 'max1'
     a[rt].max1=max(a[rt<<1|1].max1,max(a[rt<<1].max1,max(a[rt<<1].max1+a[rt<<1|1].max3,a[rt<<1].max2+a[rt<<1|1].max1)));  
                                                                                                                 ^
0_0_14232372_30256.cpp:51:11: error: 'struct node' has no member named 'max2'
     a[rt].max2=max(a[rt<<1|1].max2,max(a[rt<<1].max2,max(a[rt<<1].max2+a[rt<<1|1].max2,a[rt<<1].max1+a[rt<<1|1].max4)));  
           ^
0_0_14232372_30256.cpp:51:31: error: 'struct node' has no member named 'max2'
     a[rt].max2=max(a[rt<<1|1].max2,max(a[rt<<1].max2,max(a[rt<<1].max2+a[rt<<1|1].max2,a[rt<<1].max1+a[rt<<1|1].max4)));  
                               ^
0_0_14232372_30256.cpp:51:49: error: 'struct node' has no member named 'max2'
     a[rt].max2=max(a[rt<<1|1].max2,max(a[rt<<1].max2,max(a[rt<<1].max2+a[rt<<1|1].max2,a[rt<<1].max1+a[rt<<1|1].max4)));  
                                                 ^
0_0_14232372_30256.cpp:51:67: error: 'struct node' has no member named 'max2'
     a[rt].max2=max(a[rt<<1|1].max2,max(a[rt<<1].max2,max(a[rt<<1].max2+a[rt<<1|1].max2,a[rt<<1].max1+a[rt<<1|1].max4)));  
                                                                   ^
0_0_14232372_30256.cpp:51:83: error: 'struct node' has no member named 'max2'
     a[rt].max2=max(a[rt<<1|1].max2,max(a[rt<<1].max2,max(a[rt<<1].max2+a[rt<<1|1].max2,a[rt<<1].max1+a[rt<<1|1].max4)));  
                                                                                   ^
0_0_14232372_30256.cpp:51:97: error: 'struct node' has no member named 'max1'
     a[rt].max2=max(a[rt<<1|1].max2,max(a[rt<<1].max2,max(a[rt<<1].max2+a[rt<<1|1].max2,a[rt<<1].max1+a[rt<<1|1].max4)));  
                                                                                                 ^
0_0_14232372_30256.cpp:51:113: error: 'struct node' has no member named 'max4'
     a[rt].max2=max(a[rt<<1|1].max2,max(a[rt<<1].max2,max(a[rt<<1].max2+a[rt<<1|1].max2,a[rt<<1].max1+a[rt<<1|1].max4)));  
                                                                                                                 ^
0_0_14232372_30256.cpp:52:11: error: 'struct node' has no member named 'max3'
     a[rt].max3=max(a[rt<<1|1].max3,max(a[rt<<1].max3,max(a[rt<<1].max3+a[rt<<1|1].max3,a[rt<<1].max4+a[rt<<1|1].max1)));  
           ^
0_0_14232372_30256.cpp:52:31: error: 'struct node' has no member named 'max3'
     a[rt].max3=max(a[rt<<1|1].max3,max(a[rt<<1].max3,max(a[rt<<1].max3+a[rt<<1|1].max3,a[rt<<1].max4+a[rt<<1|1].max1)));  
                               ^
0_0_14232372_30256.cpp:52:49: error: 'struct node' has no member named 'max3'
     a[rt].max3=max(a[rt<<1|1].max3,max(a[rt<<1].max3,max(a[rt<<1].max3+a[rt<<1|1].max3,a[rt<<1].max4+a[rt<<1|1].max1)));  
                                                 ^
0_0_14232372_30256.cpp:52:67: error: 'struct node' has no member named 'max3'
     a[rt].max3=max(a[rt<<1|1].max3,max(a[rt<<1].max3,max(a[rt<<1].max3+a[rt<<1|1].max3,a[rt<<1].max4+a[rt<<1|1].max1)));  
                                                                   ^
0_0_14232372_30256.cpp:52:83: error: 'struct node' has no member named 'max3'
     a[rt].max3=max(a[rt<<1|1].max3,max(a[rt<<1].max3,max(a[rt<<1].max3+a[rt<<1|1].max3,a[rt<<1].max4+a[rt<<1|1].max1)));  
                                                                                   ^
0_0_14232372_30256.cpp:52:97: error: 'struct node' has no member named 'max4'
     a[rt].max3=max(a[rt<<1|1].max3,max(a[rt<<1].max3,max(a[rt<<1].max3+a[rt<<1|1].max3,a[rt<<1].max4+a[rt<<1|1].max1)));  
                                                                                                 ^
0_0_14232372_30256.cpp:52:113: error: 'struct node' has no member named 'max1'
     a[rt].max3=max(a[rt<<1|1].max3,max(a[rt<<1].max3,max(a[rt<<1].max3+a[rt<<1|1].max3,a[rt<<1].max4+a[rt<<1|1].max1)));  
                                                                                                                 ^
0_0_14232372_30256.cpp:53:11: error: 'struct node' has no member named 'max4'
     a[rt].max4=max(a[rt<<1|1].max4,max(a[rt<<1].max4,max(a[rt<<1].max4+a[rt<<1|1].max2,a[rt<<1].max3+a[rt<<1|1].max4)));  
           ^
0_0_14232372_30256.cpp:53:31: error: 'struct node' has no member named 'max4'
     a[rt].max4=max(a[rt<<1|1].max4,max(a[rt<<1].max4,max(a[rt<<1].max4+a[rt<<1|1].max2,a[rt<<1].max3+a[rt<<1|1].max4)));  
                               ^
0_0_14232372_30256.cpp:53:49: error: 'struct node' has no member named 'max4'
     a[rt].max4=max(a[rt<<1|1].max4,max(a[rt<<1].max4,max(a[rt<<1].max4+a[rt<<1|1].max2,a[rt<<1].max3+a[rt<<1|1].max4)));  
                                                 ^
0_0_14232372_30256.cpp:53:67: error: 'struct node' has no member named 'max4'
     a[rt].max4=max(a[rt<<1|1].max4,max(a[rt<<1].max4,max(a[rt<<1].max4+a[rt<<1|1].max2,a[rt<<1].max3+a[rt<<1|1].max4)));  
                                                                   ^
0_0_14232372_30256.cpp:53:83: error: 'struct node' has no member named 'max2'
     a[rt].max4=max(a[rt<<1|1].max4,max(a[rt<<1].max4,max(a[rt<<1].max4+a[rt<<1|1].max2,a[rt<<1].max3+a[rt<<1|1].max4)));  
                                                                                   ^
0_0_14232372_30256.cpp:53:97: error: 'struct node' has no member named 'max3'
     a[rt].max4=max(a[rt<<1|1].max4,max(a[rt<<1].max4,max(a[rt<<1].max4+a[rt<<1|1].max2,a[rt<<1].max3+a[rt<<1|1].max4)));  
                                                                                                 ^
0_0_14232372_30256.cpp:53:113: error: 'struct node' has no member named 'max4'
     a[rt].max4=max(a[rt<<1|1].max4,max(a[rt<<1].max4,max(a[rt<<1].max4+a[rt<<1|1].max2,a[rt<<1].max3+a[rt<<1|1].max4)));  
                                                                                                                 ^
0_0_14232372_30256.cpp: In function 'void update(int, int, int, int, int)':
0_0_14232372_30256.cpp:62:19: error: 'struct node' has no member named 'max1'
             a[rt].max1=val;  
                   ^
0_0_14232372_30256.cpp:63:19: error: 'struct node' has no member named 'max2'
             a[rt].max2=-inf;  
                   ^
0_0_14232372_30256.cpp:64:19: error: 'struct node' has no member named 'max3'
             a[rt].max3=-inf;  
                   ^
0_0_14232372_30256.cpp:65:19: error: 'struct node' has no member named 'max4'
             a[rt].max4=-inf;  
                   ^
0_0_14232372_30256.cpp:69:19: error: 'struct node' has no member named 'max1'
             a[rt].max1=-inf;  
                   ^
0_0_14232372_30256.cpp:70:19: error: 'struct node' has no member named 'max2'
             a[rt].max2=-inf;  
                   ^
0_0_14232372_30256.cpp:71:19: error: 'struct node' has no member named 'max3'
             a[rt].max3=-inf;  
                   ^
0_0_14232372_30256.cpp:72:19: error: 'struct node' has no member named 'max4'
             a[rt].max4=val;  
 


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-07-01 20:31:07, Gzip enabled