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_18249657_27629.cpp:129:11: error: redefinition of 'const int N'
 const int N=1e5+10;
           ^
0_0_18249657_27629.cpp:4:11: note: 'const int N' previously defined here
 const int N=1e5+10;
           ^
0_0_18249657_27629.cpp:130:13: error: redefinition of 'int c [400050]'
 int c[4*N+10];
             ^
0_0_18249657_27629.cpp:5:5: note: 'int c [400050]' previously declared here
 int c[4*N+10];
     ^
0_0_18249657_27629.cpp:131:7: error: redefinition of 'll a [100010]'
 ll a[N],s[N],ans;
       ^
0_0_18249657_27629.cpp:6:4: note: 'll a [100010]' previously declared here
 ll a[N],s[N],ans;
    ^
0_0_18249657_27629.cpp:131:12: error: redefinition of 'll s [100010]'
 ll a[N],s[N],ans;
            ^
0_0_18249657_27629.cpp:6:9: note: 'll s [100010]' previously declared here
 ll a[N],s[N],ans;
         ^
0_0_18249657_27629.cpp:131:14: error: redefinition of 'll ans'
 ll a[N],s[N],ans;
              ^
0_0_18249657_27629.cpp:6:14: note: 'll ans' previously declared here
 ll a[N],s[N],ans;
              ^
0_0_18249657_27629.cpp:132:15: error: redefinition of 'std::vector<int> g [100010]'
 vector<int>g[N];
               ^
0_0_18249657_27629.cpp:7:12: note: 'std::vector<int> g [100010]' previously declared here
 vector<int>g[N];
            ^
0_0_18249657_27629.cpp: In function 'void update(int, int, int, int)':
0_0_18249657_27629.cpp:134:6: error: redefinition of 'void update(int, int, int, int)'
 void update(int o,int l,int r,int x)
      ^
0_0_18249657_27629.cpp:9:6: note: 'void update(int, int, int, int)' previously defined here
 void update(int o,int l,int r,int x)
      ^
0_0_18249657_27629.cpp: In function 'int query(int, int, int, int)':
0_0_18249657_27629.cpp:147:5: error: redefinition of 'int query(int, int, int, int)'
 int query(int o,int l,int r,int k)
     ^
0_0_18249657_27629.cpp:22:5: note: 'int query(int, int, int, int)' previously defined here
 int query(int o,int l,int r,int k)
     ^
0_0_18249657_27629.cpp: In function 'int main()':
0_0_18249657_27629.cpp:156:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18249657_27629.cpp:31:5: note: 'int main()' previously defined here
 int main()
     ^


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-06 02:09:59, Gzip enabled