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_23601572_16449.cpp: In function 'int main()':
0_0_23601572_16449.cpp:68:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23601572_16449.cpp:13:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_23601572_16449.cpp: In function 'int main()':
0_0_23601572_16449.cpp:106:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23601572_16449.cpp:13:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_23601572_16449.cpp: In function 'int main()':
0_0_23601572_16449.cpp:133:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23601572_16449.cpp:13:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_23601572_16449.cpp: At global scope:
0_0_23601572_16449.cpp:159:14: error: conflicting declaration 'char a [255]'
 char ch,a[255];
              ^
0_0_23601572_16449.cpp:67:5: note: previous declaration as 'int a [31][31]'
 int a[31][31];
     ^
0_0_23601572_16449.cpp: In function 'int main()':
0_0_23601572_16449.cpp:160:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23601572_16449.cpp:13:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_23601572_16449.cpp:167:15: error: cannot convert 'int (*)[31]' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
   len=strlen(a);
               ^
0_0_23601572_16449.cpp: In function 'int main()':
0_0_23601572_16449.cpp:208:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23601572_16449.cpp:13:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_23601572_16449.cpp: In function 'int main()':
0_0_23601572_16449.cpp:249:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23601572_16449.cpp:13: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-09-20 10:28:53, Gzip enabled