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_29981977_25317.cpp:11:5: error: 'MAXN' was not declared in this scope
 }tr[MAXN*4];
     ^
0_0_29981977_25317.cpp: In function 'void up(int)':
0_0_29981977_25317.cpp:13:5: error: 'tr' was not declared in this scope
     tr[rt].sum=tr[rt*2].sum+tr[rt*2+1].sum;
     ^
0_0_29981977_25317.cpp: In function 'void BUI(int, int, int)':
0_0_29981977_25317.cpp:16:5: error: 'tr' was not declared in this scope
     tr[rt].l=l;tr[rt].r=r;
     ^
0_0_29981977_25317.cpp: In function 'void UPD(int, int, int)':
0_0_29981977_25317.cpp:28:8: error: 'tr' was not declared in this scope
     if(tr[rt].sum==tr[rt].len)    return ;
        ^
0_0_29981977_25317.cpp:29:8: error: 'tr' was not declared in this scope
     if(tr[rt].l==tr[rt].r){
        ^
0_0_29981977_25317.cpp:33:14: error: 'tr' was not declared in this scope
     int mid=(tr[rt].l+tr[rt].r)/2;
              ^
0_0_29981977_25317.cpp: In function 'long long int QUE(int, int, int)':
0_0_29981977_25317.cpp:40:8: error: 'tr' was not declared in this scope
     if(tr[rt].l==l&&tr[rt].r==r)
        ^
0_0_29981977_25317.cpp:42:14: error: 'tr' was not declared in this scope
     int mid=(tr[rt].l+tr[rt].r)/2;
              ^


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-12-05 01:38:59, Gzip enabled