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_21795332_23311.cpp:59:10: error: redefinition of 'int a [50010]'
 int a[MAX],t,n;
          ^
0_0_21795332_23311.cpp:5:5: note: 'int a [50010]' previously declared here
 int a[MAX],t,n;
     ^
0_0_21795332_23311.cpp:59:12: error: redefinition of 'int t'
 int a[MAX],t,n;
            ^
0_0_21795332_23311.cpp:5:12: note: 'int t' previously declared here
 int a[MAX],t,n;
            ^
0_0_21795332_23311.cpp:59:14: error: redefinition of 'int n'
 int a[MAX],t,n;
              ^
0_0_21795332_23311.cpp:5:14: note: 'int n' previously declared here
 int a[MAX],t,n;
              ^
0_0_21795332_23311.cpp:60:11: error: redefinition of 'long long int numr'
 long long numr,hhh,numl[MAX],e[3][MAX];
           ^
0_0_21795332_23311.cpp:6:11: note: 'long long int numr' previously declared here
 long long numr,hhh,numl[MAX],e[3][MAX];
           ^
0_0_21795332_23311.cpp:60:16: error: redefinition of 'long long int hhh'
 long long numr,hhh,numl[MAX],e[3][MAX];
                ^
0_0_21795332_23311.cpp:6:16: note: 'long long int hhh' previously declared here
 long long numr,hhh,numl[MAX],e[3][MAX];
                ^
0_0_21795332_23311.cpp:60:28: error: redefinition of 'long long int numl [50010]'
 long long numr,hhh,numl[MAX],e[3][MAX];
                            ^
0_0_21795332_23311.cpp:6:20: note: 'long long int numl [50010]' previously declared here
 long long numr,hhh,numl[MAX],e[3][MAX];
                    ^
0_0_21795332_23311.cpp:60:38: error: redefinition of 'long long int e [3][50010]'
 long long numr,hhh,numl[MAX],e[3][MAX];
                                      ^
0_0_21795332_23311.cpp:6:30: note: 'long long int e [3][50010]' previously declared here
 long long numr,hhh,numl[MAX],e[3][MAX];
                              ^
0_0_21795332_23311.cpp: In function 'int lowbit(int)':
0_0_21795332_23311.cpp:61:5: error: redefinition of 'int lowbit(int)'
 int lowbit(int k)
     ^
0_0_21795332_23311.cpp:7:5: note: 'int lowbit(int)' previously defined here
 int lowbit(int k)
     ^
0_0_21795332_23311.cpp: In function 'long long int SUM(int, int)':
0_0_21795332_23311.cpp:65:11: error: redefinition of 'long long int SUM(int, int)'
 long long SUM(int k,int num)
           ^
0_0_21795332_23311.cpp:11:11: note: 'long long int SUM(int, int)' previously defined here
 long long SUM(int k,int num)
           ^
0_0_21795332_23311.cpp: In function 'void ADD(int, int, int)':
0_0_21795332_23311.cpp:75:6: error: redefinition of 'void ADD(int, int, int)'
 void ADD(int k,int v,int num)
      ^
0_0_21795332_23311.cpp:21:6: note: 'void ADD(int, int, int)' previously defined here
 void ADD(int k,int v,int num)
      ^
0_0_21795332_23311.cpp: In function 'int main()':
0_0_21795332_23311.cpp:83:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21795332_23311.cpp:29: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-10-06 06:49:56, Gzip enabled