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_27480572_28570.cpp:95:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_27480572_28570.cpp:95:3: error: 'include' does not name a type
 }#include<iostream>
   ^
0_0_27480572_28570.cpp:102:8: error: redefinition of 'struct node'
 struct node {
        ^
0_0_27480572_28570.cpp:8:8: error: previous definition of 'struct node'
 struct node {
        ^
0_0_27480572_28570.cpp:104:9: error: invalid type in declaration before ';' token
 } p[MAX];// Ö»´æ°×Ï߶Î
         ^
0_0_27480572_28570.cpp:104:9: error: conflicting declaration 'int p [2001]'
0_0_27480572_28570.cpp:10:3: note: previous declaration as 'node p [2001]'
 } p[MAX];// Ö»´æ°×Ï߶Î
   ^
0_0_27480572_28570.cpp: In function 'bool cmp(node, node)':
0_0_27480572_28570.cpp:106:6: error: redefinition of 'bool cmp(node, node)'
 bool cmp(struct node a, struct node b)
      ^
0_0_27480572_28570.cpp:12:6: note: 'bool cmp(node, node)' previously defined here
 bool cmp(struct node a, struct node b)
      ^
0_0_27480572_28570.cpp: In function 'int main()':
0_0_27480572_28570.cpp:111:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_27480572_28570.cpp:17: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 02:33:13, Gzip enabled