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_30019939_1549.cpp:10:9: error: 'vos' does not name a type
         vos update(long long x){
         ^
0_0_30019939_1549.cpp:15:5: error: 'vos' does not name a type
     vos Push_up(int x){
     ^
0_0_30019939_1549.cpp:18:5: error: 'vos' does not name a type
     vos Push_down(int x){
     ^
0_0_30019939_1549.cpp:35:5: error: 'vos' does not name a type
     vos Build(int l, int r,int x = 1){
     ^
0_0_30019939_1549.cpp:48:5: error: 'vos' does not name a type
     vos Update(int l, int r, long long val, int x = 1){
     ^
0_0_30019939_1549.cpp: In member function 'long long int SegmentTree::Query(int, int, int)':
0_0_30019939_1549.cpp:67:24: error: 'Push_down' was not declared in this scope
             Push_down(x);
                        ^
0_0_30019939_1549.cpp:74:22: error: 'Push_up' was not declared in this scope
             Push_up(x);
                      ^
0_0_30019939_1549.cpp: In function 'int main()':
0_0_30019939_1549.cpp:91:13: error: 'class SegmentTree' has no member named 'Build'
         st->Build(1,N);
             ^
0_0_30019939_1549.cpp:101:21: error: 'class SegmentTree' has no member named 'Update'
                 st->Update(x, x, y);
                     ^
0_0_30019939_1549.cpp:103:21: error: 'class SegmentTree' has no member named 'Update'
                 st->Update(x, x, -y);
                     ^


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-15 21:55:37, Gzip enabled