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_13876153_14868.cpp: In function 'long long int Modify(int, int)':
0_0_13876153_14868.cpp:111:17: error: 'D' was not declared in this scope
   ql=Left[g[x]][D];qr=Right[g[x]][D];Query(rt[k],1,U);
                 ^
0_0_13876153_14868.cpp:114:19: error: lvalue required as unary '&' operand
  rep if (c[k]>>p)&1) res+=(1<<p)*(re[p][0]+same(T[rt[k]][p]));
                   ^
0_0_13876153_14868.cpp: In function 'int main()':
0_0_13876153_14868.cpp:131:23: error: 'D' was not declared in this scope
     for (y=x;y;y=f[y],D++);
                       ^
0_0_13876153_14868.cpp:132:27: error: 'D' was not declared in this scope
     for (y=0;x;y=x,x=f[x],D--)
                           ^
0_0_13876153_14868.cpp:134:27: error: too many arguments to function 'long long int Modify(int, int)'
       ans-=Modify(x,y,back);
                           ^
0_0_13876153_14868.cpp:108:11: note: declared here
 long long Modify(int k,int x)
           ^
0_0_13876153_14868.cpp:136:27: error: too many arguments to function 'long long int Modify(int, int)'
       ans+=Modify(x,y,c[x]);
                           ^
0_0_13876153_14868.cpp:108:11: note: declared here
 long long Modify(int k,int x)
           ^


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-09-21 13:38:21, Gzip enabled