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_20133283_28261.cpp:106:2: error: stray '#' in program
 }#include<stdio.h>
  ^
0_0_20133283_28261.cpp:106:3: error: 'include' does not name a type
 }#include<stdio.h>
   ^
0_0_20133283_28261.cpp:112:10: error: redefinition of 'int set [50010]'
 int set[M];
          ^
0_0_20133283_28261.cpp:7:5: note: 'int set [50010]' previously declared here
 int set[M];
     ^
0_0_20133283_28261.cpp:113:8: error: redefinition of 'struct node'
 struct node{
        ^
0_0_20133283_28261.cpp:8:8: error: previous definition of 'struct node'
 struct node{
        ^
0_0_20133283_28261.cpp:118:10: error: invalid type in declaration before ';' token
 }p[M*2+1];
          ^
0_0_20133283_28261.cpp:118:10: error: conflicting declaration 'int p [100021]'
0_0_20133283_28261.cpp:13:2: note: previous declaration as 'node p [100021]'
 }p[M*2+1];
  ^
0_0_20133283_28261.cpp: In function 'int find(int)':
0_0_20133283_28261.cpp:120:5: error: redefinition of 'int find(int)'
 int find(int r){
     ^
0_0_20133283_28261.cpp:15:5: note: 'int find(int)' previously defined here
 int find(int r){
     ^
0_0_20133283_28261.cpp: In function 'int merge(int, int)':
0_0_20133283_28261.cpp:134:5: error: redefinition of 'int merge(int, int)'
 int merge(int a,int b){
     ^
0_0_20133283_28261.cpp:29:5: note: 'int merge(int, int)' previously defined here
 int merge(int a,int b){
     ^
0_0_20133283_28261.cpp: In function 'void init()':
0_0_20133283_28261.cpp:144:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_20133283_28261.cpp:39:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_20133283_28261.cpp: In function 'int cmp(node, node)':
0_0_20133283_28261.cpp:150:5: error: redefinition of 'int cmp(node, node)'
 int cmp(node a,node b){
     ^
0_0_20133283_28261.cpp:45:5: note: 'int cmp(node, node)' previously defined here
 int cmp(node a,node b){
     ^
0_0_20133283_28261.cpp: At global scope:
0_0_20133283_28261.cpp:158:5: error: redefinition of 'int n'
 int n,m,tel,sum;
     ^
0_0_20133283_28261.cpp:53:5: note: 'int n' previously declared here
 int n,m,tel,sum;
     ^
0_0_20133283_28261.cpp:158:7: error: redefinition of 'int m'
 int n,m,tel,sum;
       ^
0_0_20133283_28261.cpp:53:7: note: 'int m' previously declared here
 int n,m,tel,sum;
       ^
0_0_20133283_28261.cpp:158:9: error: redefinition of 'int tel'
 int n,m,tel,sum;
         ^
0_0_20133283_28261.cpp:53:9: note: 'int tel' previously declared here
 int n,m,tel,sum;
         ^
0_0_20133283_28261.cpp:158:13: error: redefinition of 'int sum'
 int n,m,tel,sum;
             ^
0_0_20133283_28261.cpp:53:13: note: 'int sum' previously declared here
 int n,m,tel,sum;
             ^
0_0_20133283_28261.cpp: In function 'int kru(int)':
0_0_20133283_28261.cpp:160:5: error: redefinition of 'int kru(int)'
 int kru(int x){
     ^
0_0_20133283_28261.cpp:55:5: note: 'int kru(int)' previously defined here
 int kru(int x){
     ^
0_0_20133283_28261.cpp: In function 'int main()':
0_0_20133283_28261.cpp:190:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_20133283_28261.cpp:85: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-06-29 07:56:36, Gzip enabled