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_21651119_28286.cpp: In function 'int main()':
0_0_21651119_28286.cpp:58:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21651119_28286.cpp:5:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_21651119_28286.cpp: In function 'int main()':
0_0_21651119_28286.cpp:87:5: error: redefinition of 'int main()'
 int main(void)
     ^
0_0_21651119_28286.cpp:5:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_21651119_28286.cpp: In function 'int main()':
0_0_21651119_28286.cpp:117:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21651119_28286.cpp:5:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_21651119_28286.cpp: At global scope:
0_0_21651119_28286.cpp:153:8: error: conflicting declaration 'int s [200010]'
 int s[N];
        ^
0_0_21651119_28286.cpp:25:22: note: previous declaration as 'int s [100]'
 int v[100005],w[100],s[100];
                      ^
0_0_21651119_28286.cpp: In function 'int main()':
0_0_21651119_28286.cpp:154:5: error: redefinition of 'int main()'
 int main(void)
     ^
0_0_21651119_28286.cpp:5:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_21651119_28286.cpp: In function 'int main()':
0_0_21651119_28286.cpp:185:5: error: redefinition of 'int main()'
 int main(void)
     ^
0_0_21651119_28286.cpp:5: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-26 07:48:51, Gzip enabled