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_23917526_23701.cpp:43:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_23917526_23701.cpp:43:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_23917526_23701.cpp:45:8: error: redefinition of 'struct maos'
 struct maos
        ^
0_0_23917526_23701.cpp:3:8: error: previous definition of 'struct maos'
 struct maos
        ^
0_0_23917526_23701.cpp:50:11: error: invalid type in declaration before ';' token
 }mao[1005];
           ^
0_0_23917526_23701.cpp:50:11: error: conflicting declaration 'int mao [1005]'
0_0_23917526_23701.cpp:8:2: note: previous declaration as 'maos mao [1005]'
 }mao[1005];
  ^
0_0_23917526_23701.cpp: In function 'bool cmp(maos, maos)':
0_0_23917526_23701.cpp:51:6: error: redefinition of 'bool cmp(maos, maos)'
 bool cmp(maos x,maos y)
      ^
0_0_23917526_23701.cpp:9:6: note: 'bool cmp(maos, maos)' previously defined here
 bool cmp(maos x,maos y)
      ^
0_0_23917526_23701.cpp: In function 'int main()':
0_0_23917526_23701.cpp:55:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23917526_23701.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-07-05 03:08:46, Gzip enabled