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_37707557_7900.cpp:73:11: error: redefinition of 'const int N'
 const int N =1e6+7;
           ^
0_0_37707557_7900.cpp:10:11: note: 'const int N' previously defined here
 const int N =1e6+7;
           ^
0_0_37707557_7900.cpp:74:5: error: redefinition of 'int t'
 int t,n,a[N],sum;
     ^
0_0_37707557_7900.cpp:11:5: note: 'int t' previously declared here
 int t,n,a[N],sum;
     ^
0_0_37707557_7900.cpp:74:7: error: redefinition of 'int n'
 int t,n,a[N],sum;
       ^
0_0_37707557_7900.cpp:11:7: note: 'int n' previously declared here
 int t,n,a[N],sum;
       ^
0_0_37707557_7900.cpp:74:12: error: redefinition of 'int a [1000007]'
 int t,n,a[N],sum;
            ^
0_0_37707557_7900.cpp:11:9: note: 'int a [1000007]' previously declared here
 int t,n,a[N],sum;
         ^
0_0_37707557_7900.cpp:74:14: error: redefinition of 'int sum'
 int t,n,a[N],sum;
              ^
0_0_37707557_7900.cpp:11:14: note: 'int sum' previously declared here
 int t,n,a[N],sum;
              ^
0_0_37707557_7900.cpp: In function 'int xyao(int)':
0_0_37707557_7900.cpp:75:5: error: redefinition of 'int xyao(int)'
 int xyao(int x)
     ^
0_0_37707557_7900.cpp:12:5: note: 'int xyao(int)' previously defined here
 int xyao(int x)
     ^
0_0_37707557_7900.cpp: In function 'int main()':
0_0_37707557_7900.cpp:86:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37707557_7900.cpp:23: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-11-30 00:19:39, Gzip enabled