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_37283706_19768.cpp:27:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_37283706_19768.cpp:27:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_37283706_19768.cpp:29:8: error: redefinition of 'struct a'
 struct a{
        ^
0_0_37283706_19768.cpp:3:8: error: previous definition of 'struct a'
 struct a{
        ^
0_0_37283706_19768.cpp:32:7: error: invalid type in declaration before ';' token
 }x[10];
       ^
0_0_37283706_19768.cpp:32:7: error: conflicting declaration 'int x [10]'
0_0_37283706_19768.cpp:6:2: note: previous declaration as 'a x [10]'
 }x[10];
  ^
0_0_37283706_19768.cpp: In function 'bool cmp(a, a)':
0_0_37283706_19768.cpp:33:6: error: redefinition of 'bool cmp(a, a)'
 bool cmp(a n,a m){
      ^
0_0_37283706_19768.cpp:7:6: note: 'bool cmp(a, a)' previously defined here
 bool cmp(a n,a m){
      ^
0_0_37283706_19768.cpp: In function 'int main()':
0_0_37283706_19768.cpp:36:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_37283706_19768.cpp:11: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-25 10:42:23, Gzip enabled