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_33923376_9475.cpp: In function 'int read()':
0_0_33923376_9475.cpp:51:12: error: redefinition of 'int read()'
 inline int read(){
            ^
0_0_33923376_9475.cpp:12:12: note: 'int read()' previously defined here
 inline int read(){
            ^
0_0_33923376_9475.cpp: At global scope:
0_0_33923376_9475.cpp:58:11: error: redefinition of 'const int N'
 const int N=1e5+3; 
           ^
0_0_33923376_9475.cpp:19:11: note: 'const int N' previously defined here
 const int N=1e5+3; 
           ^
0_0_33923376_9475.cpp:59:8: error: redefinition of 'int a [100003]'
 int a[N];
        ^
0_0_33923376_9475.cpp:20:5: note: 'int a [100003]' previously declared here
 int a[N];
     ^
0_0_33923376_9475.cpp:60:5: error: redefinition of 'int T'
 int T,n;
     ^
0_0_33923376_9475.cpp:21:5: note: 'int T' previously declared here
 int T,n;
     ^
0_0_33923376_9475.cpp:60:7: error: redefinition of 'int n'
 int T,n;
       ^
0_0_33923376_9475.cpp:21:7: note: 'int n' previously declared here
 int T,n;
       ^
0_0_33923376_9475.cpp:61:4: error: redefinition of 'long long int sum'
 ll sum;
    ^
0_0_33923376_9475.cpp:22:4: note: 'long long int sum' previously declared here
 ll sum;
    ^
0_0_33923376_9475.cpp: In function 'int main()':
0_0_33923376_9475.cpp:62:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_33923376_9475.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-29 01:39:50, Gzip enabled