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_36415269_27444.cpp:10:5: error: 'll' does not name a type
     ll w,f,Min,Max;
     ^
0_0_36415269_27444.cpp: In function 'void down(int)':
0_0_36415269_27444.cpp:14:15: error: 'struct node' has no member named 'f'
     tree[k*2].f+=tree[k].f;
               ^
0_0_36415269_27444.cpp:14:26: error: 'struct node' has no member named 'f'
     tree[k*2].f+=tree[k].f;
                          ^
0_0_36415269_27444.cpp:15:17: error: 'struct node' has no member named 'f'
     tree[k*2+1].f+=tree[k].f;
                 ^
0_0_36415269_27444.cpp:15:28: error: 'struct node' has no member named 'f'
     tree[k*2+1].f+=tree[k].f;
                            ^
0_0_36415269_27444.cpp:16:15: error: 'struct node' has no member named 'w'
     tree[k*2].w+=tree[k].f*(tree[k*2].r-tree[k*2].l+1);
               ^
0_0_36415269_27444.cpp:16:26: error: 'struct node' has no member named 'f'
     tree[k*2].w+=tree[k].f*(tree[k*2].r-tree[k*2].l+1);
                          ^
0_0_36415269_27444.cpp:17:17: error: 'struct node' has no member named 'w'
     tree[k*2+1].w+=tree[k].f*(tree[k*2+1].r-tree[k*2+1].l+1);
                 ^
0_0_36415269_27444.cpp:17:28: error: 'struct node' has no member named 'f'
     tree[k*2+1].w+=tree[k].f*(tree[k*2+1].r-tree[k*2+1].l+1);
                            ^
0_0_36415269_27444.cpp:18:15: error: 'struct node' has no member named 'Min'
     tree[k*2].Min+=tree[k].f;
               ^
0_0_36415269_27444.cpp:18:28: error: 'struct node' has no member named 'f'
     tree[k*2].Min+=tree[k].f;
                            ^
0_0_36415269_27444.cpp:19:17: error: 'struct node' has no member named 'Min'
     tree[k*2+1].Min+=tree[k].f;
                 ^
0_0_36415269_27444.cpp:19:30: error: 'struct node' has no member named 'f'
     tree[k*2+1].Min+=tree[k].f;
                              ^
0_0_36415269_27444.cpp:20:15: error: 'struct node' has no member named 'Max'
     tree[k*2].Max+=tree[k].f;
               ^
0_0_36415269_27444.cpp:20:28: error: 'struct node' has no member named 'f'
     tree[k*2].Max+=tree[k].f;
                            ^
0_0_36415269_27444.cpp:21:17: error: 'struct node' has no member named 'Max'
     tree[k*2+1].Max+=tree[k].f;
                 ^
0_0_36415269_27444.cpp:21:30: error: 'struct node' has no member named 'f'
     tree[k*2+1].Max+=tree[k].f;
                              ^
0_0_36415269_27444.cpp:22:13: error: 'struct node' has no member named 'f'
     tree[k].f=0;
             ^
0_0_36415269_27444.cpp: In function 'void up(int)':
0_0_36415269_27444.cpp:27:13: error: 'struct node' has no member named 'Max'
     tree[k].Max=max(tree[k*2].Max,tree[k*2+1].Max);
             ^
0_0_36415269_27444.cpp:27:31: error: 'struct node' has no member named 'Max'
     tree[k].Max=max(tree[k*2].Max,tree[k*2+1].Max);
                               ^
0_0_36415269_27444.cpp:27:47: error: 'struct node' has no member named 'Max'
     tree[k].Max=max(tree[k*2].Max,tree[k*2+1].Max);
                                               ^
0_0_36415269_27444.cpp: In function 'void build(int, int, int)':
0_0_36415269_27444.cpp:34:31: error: 'struct node' has no member named 'w'
         scanf("%lld",&tree[k].w);
                               ^
0_0_36415269_27444.cpp:35:17: error: 'struct node' has no member named 'Min'
         tree[k].Min=tree[k].Max=tree[k].w;
                 ^
0_0_36415269_27444.cpp:35:29: error: 'struct node' has no member named 'Max'
         tree[k].Min=tree[k].Max=tree[k].w;
                             ^
0_0_36415269_27444.cpp:35:41: error: 'struct node' has no member named 'w'
         tree[k].Min=tree[k].Max=tree[k].w;
                                         ^
0_0_36415269_27444.cpp: In function 'void ask_point(int, int)':
0_0_36415269_27444.cpp:47:21: error: 'struct node' has no member named 'w'
         ans=tree[k].w;
                     ^
0_0_36415269_27444.cpp:50:16: error: 'struct node' has no member named 'f'
     if(tree[k].f) down(k);
                ^
0_0_36415269_27444.cpp: In function 'void change_point(int, int, int)':
0_0_36415269_27444.cpp:59:17: error: 'struct node' has no member named 'Max'
         tree[k].Max=tree[k].Min=tree[k].w=y;
                 ^
0_0_36415269_27444.cpp:59:29: error: 'struct node' has no member named 'Min'
         tree[k].Max=tree[k].Min=tree[k].w=y;
                             ^
0_0_36415269_27444.cpp:59:41: error: 'struct node' has no member named 'w'
         tree[k].Max=tree[k].Min=tree[k].w=y;
                                         ^
0_0_36415269_27444.cpp:62:16: error: 'struct node' has no member named 'f'
     if(tree[k].f) down(k);
                ^
0_0_36415269_27444.cpp: In function 'void ask_interval(int, int, int)':
0_0_36415269_27444.cpp:72:22: error: 'struct node' has no member named 'w'
         ans+=tree[k].w;
                      ^
0_0_36415269_27444.cpp:75:16: error: 'struct node' has no member named 'f'
     if(tree[k].f) down(k);
                ^
0_0_36415269_27444.cpp: In function 'void ask_Max(int, int, int)':
0_0_36415269_27444.cpp:84:29: error: 'struct node' has no member named 'Max'
         ans=max(ans,tree[k].Max);
                             ^
0_0_36415269_27444.cpp:88:16: error: 'struct node' has no member named 'f'
     if(tree[k].f) down(k);
                ^
0_0_36415269_27444.cpp: In function 'void ask_Min(int, int, int)':
0_0_36415269_27444.cpp:97:29: error: 'struct node' has no member named 'Min'
         ans=min(ans,tree[k].Min);
                             ^
0_0_36415269_27444.cpp:101:16: error: 'struct node' has no member named 'f'
     if(tree[k].f) down(k);
                ^
0_0_36415269_27444.cpp: In function 'void change_interval(int, int, int, int)':
0_0_36415269_27444.cpp:110:17: error: 'struct node' has no member named 'w'
         tree[k].w+=(tree[k].r-tree[k].l+1)*y;
                 ^
0_0_36415269_27444.cpp:111:17: error: 'struct node' has no member named 'f'
         tree[k].f+=y;
                 ^
0_0_36415269_27444.cpp:114:16: error: 'struct node' has no member named 'f'
     if(tree[k].f) down(k);
                ^


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-26 07:07:30, Gzip enabled