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_33214006_30288.cpp: In function 'void pushup(int)':
0_0_33214006_30288.cpp:26:2: error: 'tr' was not declared in this scope
  tr[u].sum=(tr[u<<1].sum+tr[u<<1|1].sum)%mod;
  ^
0_0_33214006_30288.cpp: In function 'void pushdown(int)':
0_0_33214006_30288.cpp:39:5: error: 'tr' was not declared in this scope
  op(tr[u],tr[u<<1],tr[u<<1|1]);
     ^
0_0_33214006_30288.cpp: In function 'void build(int, int, int)':
0_0_33214006_30288.cpp:45:2: error: 'tr' was not declared in this scope
  tr[u]={l,r,0,0,1};
  ^
0_0_33214006_30288.cpp: In function 'void modify(int, int, int, ll, ll)':
0_0_33214006_30288.cpp:53:6: error: 'tr' was not declared in this scope
   if(tr[u].l>=l&&tr[u].r<=r)
      ^
0_0_33214006_30288.cpp:62:13: error: 'tr' was not declared in this scope
   int mid = tr[u].l + tr[u].r >>1;
             ^
0_0_33214006_30288.cpp: In function 'int main()':
0_0_33214006_30288.cpp:69:22: error: 'n' was not declared in this scope
  while(scanf("%d%d",&n,&m)!=EOF,n||m)
                      ^
0_0_33214006_30288.cpp:69:25: error: 'm' was not declared in this scope
  while(scanf("%d%d",&n,&m)!=EOF,n||m)
                         ^


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-30 00:14:22, Gzip enabled