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_37035336_14741.cpp:56:8: error: redefinition of 'struct qqq'
 struct qqq{
        ^
0_0_37035336_14741.cpp:4:8: error: previous definition of 'struct qqq'
 struct qqq{
        ^
0_0_37035336_14741.cpp:58:11: error: invalid type in declaration before ';' token
 }a[100005];
           ^
0_0_37035336_14741.cpp:58:11: error: conflicting declaration 'int a [100005]'
0_0_37035336_14741.cpp:6:2: note: previous declaration as 'qqq a [100005]'
 }a[100005];
  ^
0_0_37035336_14741.cpp: In function 'bool operator<(const qqq&, const qqq&)':
0_0_37035336_14741.cpp:59:6: error: redefinition of 'bool operator<(const qqq&, const qqq&)'
 bool operator <(const qqq & a, const qqq & b)
      ^
0_0_37035336_14741.cpp:7:6: note: 'bool operator<(const qqq&, const qqq&)' previously defined here
 bool operator <(const qqq & a, const qqq & b)
      ^
0_0_37035336_14741.cpp: In function 'int main()':
0_0_37035336_14741.cpp:65:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37035336_14741.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-11-17 04:31:31, Gzip enabled