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_13626951_22291.c:6:23: error: expected specifier-qualifier-list before '/' token
     int num,root,conn;//数据、根、入度
                       ^
0_0_13626951_22291.c:6:23: error: stray '\312' in program
0_0_13626951_22291.c:6:23: error: stray '\375' in program
0_0_13626951_22291.c:6:23: error: stray '\276' in program
0_0_13626951_22291.c:6:23: error: stray '\335' in program
0_0_13626951_22291.c:6:23: error: stray '\241' in program
0_0_13626951_22291.c:6:23: error: stray '\242' in program
0_0_13626951_22291.c:6:23: error: stray '\270' in program
0_0_13626951_22291.c:6:23: error: stray '\371' in program
0_0_13626951_22291.c:6:23: error: stray '\241' in program
0_0_13626951_22291.c:6:23: error: stray '\242' in program
0_0_13626951_22291.c:6:23: error: stray '\310' in program
0_0_13626951_22291.c:6:23: error: stray '\353' in program
0_0_13626951_22291.c:6:23: error: stray '\266' in program
0_0_13626951_22291.c:6:23: error: stray '\310' in program
0_0_13626951_22291.c:9:6: error: variably modified 'node' at file scope
 Node node[max_num];
      ^
0_0_13626951_22291.c: In function 'init':
0_0_13626951_22291.c:13:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i = 0; i < max_num; i++)
     ^
0_0_13626951_22291.c:13:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_13626951_22291.c:15:26: error: expected expression before '/' token
         node[i].conn = 0;//入度初始化为0
                          ^
0_0_13626951_22291.c:15:26: error: stray '\310' in program
0_0_13626951_22291.c:15:26: error: stray '\353' in program
0_0_13626951_22291.c:15:26: error: stray '\266' in program
0_0_13626951_22291.c:15:26: error: stray '\310' in program
0_0_13626951_22291.c:15:26: error: stray '\263' in program
0_0_13626951_22291.c:15:26: error: stray '\365' in program
0_0_13626951_22291.c:15:26: error: stray '\312' in program
0_0_13626951_22291.c:15:26: error: stray '\274' in program
0_0_13626951_22291.c:15:26: error: stray '\273' in program
0_0_13626951_22291.c:15:26: error: stray '\257' in program
0_0_13626951_22291.c:15:26: error: stray '\316' in program
0_0_13626951_22291.c:15:26: error: stray '\252' in program
0_0_13626951_22291.c:16:25: error: expected expression before '/' token
         node[i].root= i;//根记录为自身
                         ^
0_0_13626951_22291.c:16:25: error: stray '\270' in program
0_0_13626951_22291.c:16:25: error: stray '\371' in program
0_0_13626951_22291.c:16:25: error: stray '\274' in program
0_0_13626951_22291.c:16:25: error: stray '\307' in program
0_0_13626951_22291.c:16:25: error: stray '\302' in program
0_0_13626951_22291.c:16:25: error: stray '\274' in program
0_0_13626951_22291.c:16:25: error: stray '\316' in program
0_0_13626951_22291.c:16:25: error: stray '\252' in program
0_0_13626951_22291.c:16:25: error: stray '\327' in program
0_0_13626951_22291.c:16:25: error: stray '\324' in program
0_0_13626951_22291.c:16:25: error: stray '\311' in program
0_0_13626951_22291.c:16:25: error: stray '\355' in program
0_0_13626951_22291.c:17:23: error: expected expression before '/' token
         node[i].num=0;//标记数字是否被使用过,0:没有被使用过,1:使用过了
                       ^
0_0_13626951_22291.c:17:23: error: stray '\261' in program
0_0_13626951_22291.c:17:23: error: stray '\352' in program
0_0_13626951_22291.c:17:23: error: stray '\274' in program
0_0_13626951_22291.c:17:23: error: stray '\307' in program
0_0_13626951_22291.c:17:23: error: stray '\312' in program
0_0_13626951_22291.c:17:23: error: stray '\375' in program
0_0_13626951_22291.c:17:23: error: stray '\327' in program
0_0_13626951_22291.c:17:23: error: stray '\326' in program
0_0_13626951_22291.c:17:23: error: stray '\312' in program
0_0_13626951_22291.c:17:23: error: stray '\307' in program
0_0_13626951_22291.c:17:23: error: stray '\267' in program
0_0_13626951_22291.c:17:23: error: stray '\361' in program
0_0_13626951_22291.c:17:23: error: stray '\261' in program
0_0_13626951_22291.c:17:23: error: stray '\273' in program
0_0_13626951_22291.c:17:23: error: stray '\312' in program
0_0_13626951_22291.c:17:23: error: stray '\271' in program
0_0_13626951_22291.c:17:23: error: stray '\323' in program
0_0_13626951_22291.c:17:23: error: stray '\303' in program
0_0_13626951_22291.c:17:23: error: stray '\271' in program
0_0_13626951_22291.c:17:23: error: stray '\375' in program
0_0_13626951_22291.c:17:23: error: stray '\243' in program
0_0_13626951_22291.c:17:23: error: stray '\254' in program
0_0_13626951_22291.c:17:23: error: stray '\303' in program
0_0_13626951_22291.c:17:23: error: stray '\273' in program
0_0_13626951_22291.c:17:23: error: stray '\323' in program
0_0_13626951_22291.c:17:23: error: stray '\320' in program
0_0_13626951_22291.c:17:23: error: stray '\261' in program
0_0_13626951_22291.c:17:23: error: stray '\273' in program
0_0_13626951_22291.c:17:23: error: stray '\312' in program
0_0_13626951_22291.c:17:23: error: stray '\271' in program
0_0_13626951_22291.c:17:23: error: stray '\323' in program
0_0_13626951_22291.c:17:23: error: stray '\303' in program
0_0_13626951_22291.c:17:23: error: stray '\271' in program
0_0_13626951_22291.c:17:23: error: stray '\375' in program
0_0_13626951_22291.c:17:23: error: stray '\243' in program
0_0_13626951_22291.c:17:23: error: stray '\254' in program
0_0_13626951_22291.c:17:23: error: stray '\312' in program
0_0_13626951_22291.c:17:23: error: stray '\271' in program
0_0_13626951_22291.c:17:23: error: stray '\323' in program
0_0_13626951_22291.c:17:23: error: stray '\303' in program
0_0_13626951_22291.c:17:23: error: stray '\271' in program
0_0_13626951_22291.c:17:23: error: stray '\375' in program
0_0_13626951_22291.c:17:23: error: stray '\301' in program
0_0_13626951_22291.c:17:23: error: stray '\313' in program
0_0_13626951_22291.c: In function 'union_set':
0_0_13626951_22291.c:32:13: error: expected expression before '/' token
     if(a==b)//同一个根,说明是在同一个树下
             ^
0_0_13626951_22291.c:32:13: error: stray '\315' in program
0_0_13626951_22291.c:32:13: error: stray '\254' in program
0_0_13626951_22291.c:32:13: error: stray '\322' in program
0_0_13626951_22291.c:32:13: error: stray '\273' in program
0_0_13626951_22291.c:32:13: error: stray '\270' in program
0_0_13626951_22291.c:32:13: error: stray '\366' in program
0_0_13626951_22291.c:32:13: error: stray '\270' in program
0_0_13626951_22291.c:32:13: error: stray '\371' in program
0_0_13626951_22291.c:32:13: error: stray '\243' in program
0_0_13626951_22291.c:32:13: error: stray '\254' in program
0_0_13626951_22291.c:32:13: error: stray '\313' in program
0_0_13626951_22291.c:32:13: error: stray '\265' in program
0_0_13626951_22291.c:32:13: error: stray '\303' in program
0_0_13626951_22291.c:32:13: error: stray '\367' in program
0_0_13626951_22291.c:32:13: error: stray '\312' in program
0_0_13626951_22291.c:32:13: error: stray '\307' in program
0_0_13626951_22291.c:32:13: error: stray '\324' in program
0_0_13626951_22291.c:32:13: error: stray '\332' in program
0_0_13626951_22291.c:32:13: error: stray '\315' in program
0_0_13626951_22291.c:32:13: error: stray '\254' in program
0_0_13626951_22291.c:32:13: error: stray '\322' in program
0_0_13626951_22291.c:32:13: error: stray '\273' in program
0_0_13626951_22291.c:32:13: error: stray '\270' in program
0_0_13626951_22291.c:32:13: error: stray '\366' in program
0_0_13626951_22291.c:32:13: error: stray '\312' in program
0_0_13626951_22291.c:32:13: error: stray '\367' in program
0_0_13626951_22291.c:32:13: error: stray '\317' in program
0_0_13626951_22291.c:32:13: error: stray '\302' in program
0_0_13626951_22291.c:34:20: error: expected expression before '/' token
     node[b].root=a;//把b的根赋为a的根,此时a已经是根,num==root
                    ^
0_0_13626951_22291.c:34:20: error: stray '\260' in program
0_0_13626951_22291.c:34:20: error: stray '\321' in program
0_0_13626951_22291.c:34:20: error: stray '\265' in program
0_0_13626951_22291.c:34:20: error: stray '\304' in program
0_0_13626951_22291.c:34:20: error: stray '\270' in program
0_0_13626951_22291.c:34:20: error: stray '\371' in program
0_0_13626951_22291.c:34:20: error: stray '\270' in program
0_0_13626951_22291.c:34:20: error: stray '\263' in program
0_0_13626951_22291.c:34:20: error: stray '\316' in program
0_0_13626951_22291.c:34:20: error: stray '\252' in program
0_0_13626951_22291.c:34:20: error: stray '\265' in program
0_0_13626951_22291.c:34:20: error: stray '\304' in program
0_0_13626951_22291.c:34:20: error: stray '\270' in program
0_0_13626951_22291.c:34:20: error: stray '\371' in program
0_0_13626951_22291.c:34:20: error: stray '\243' in program
0_0_13626951_22291.c:34:20: error: stray '\254' in program
0_0_13626951_22291.c:34:20: error: stray '\264' in program
0_0_13626951_22291.c:34:20: error: stray '\313' in program
0_0_13626951_22291.c:34:20: error: stray '\312' in program
0_0_13626951_22291.c


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-12-02 17:31:19, Gzip enabled