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_33602072_21221.cpp: In function 'int main()':
0_0_33602072_21221.cpp:87:15: error: 'struct Segment_Tree' has no member named 'Build'
             T.Build(1, 1, m1);
               ^
0_0_33602072_21221.cpp:91:23: error: 'struct Segment_Tree' has no member named 'Update'
                     T.Update(1, 1, m1, p[x].x, p[x].w);
                       ^
0_0_33602072_21221.cpp:29:20: error: 'struct Segment_Tree' has no member named 'Tre'
     #define Max(x) Tre[x].max
                    ^
0_0_33602072_21221.cpp:93:39: note: in expansion of macro 'Max'
                 Ans = std::max(Ans, T.Max(1));
                                       ^


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-23 05:33:02, Gzip enabled