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_17381405_18375.c:10:10: error: expected identifier or '(' before '/' token
 int i,j; //C99等较高版本的C标准才能在for循环里定义变量,所以我就把i和j这两个常用的放到最开头了。。
          ^
0_0_17381405_18375.c:10:10: error: stray '\265' in program
0_0_17381405_18375.c:10:10: error: stray '\310' in program
0_0_17381405_18375.c:10:10: error: stray '\275' in program
0_0_17381405_18375.c:10:10: error: stray '\317' in program
0_0_17381405_18375.c:10:10: error: stray '\270' in program
0_0_17381405_18375.c:10:10: error: stray '\337' in program
0_0_17381405_18375.c:10:10: error: stray '\260' in program
0_0_17381405_18375.c:10:10: error: stray '\346' in program
0_0_17381405_18375.c:10:10: error: stray '\261' in program
0_0_17381405_18375.c:10:10: error: stray '\276' in program
0_0_17381405_18375.c:10:10: error: stray '\265' in program
0_0_17381405_18375.c:10:10: error: stray '\304' in program
0_0_17381405_18375.c:10:10: error: stray '\261' in program
0_0_17381405_18375.c:10:10: error: stray '\352' in program
0_0_17381405_18375.c:10:10: error: stray '\327' in program
0_0_17381405_18375.c:10:10: error: stray '\274' in program
0_0_17381405_18375.c:10:10: error: stray '\262' in program
0_0_17381405_18375.c:10:10: error: stray '\305' in program
0_0_17381405_18375.c:10:10: error: stray '\304' in program
0_0_17381405_18375.c:10:10: error: stray '\334' in program
0_0_17381405_18375.c:10:10: error: stray '\324' in program
0_0_17381405_18375.c:10:10: error: stray '\332' in program
0_0_17381405_18375.c:10:10: error: stray '\321' in program
0_0_17381405_18375.c:10:10: error: stray '\255' in program
0_0_17381405_18375.c:10:10: error: stray '\273' in program
0_0_17381405_18375.c:10:10: error: stray '\267' in program
0_0_17381405_18375.c:10:10: error: stray '\300' in program
0_0_17381405_18375.c:10:10: error: stray '\357' in program
0_0_17381405_18375.c:10:10: error: stray '\266' in program
0_0_17381405_18375.c:10:10: error: stray '\250' in program
0_0_17381405_18375.c:10:10: error: stray '\322' in program
0_0_17381405_18375.c:10:10: error: stray '\345' in program
0_0_17381405_18375.c:10:10: error: stray '\261' in program
0_0_17381405_18375.c:10:10: error: stray '\344' in program
0_0_17381405_18375.c:10:10: error: stray '\301' in program
0_0_17381405_18375.c:10:10: error: stray '\277' in program
0_0_17381405_18375.c:10:10: error: stray '\243' in program
0_0_17381405_18375.c:10:10: error: stray '\254' in program
0_0_17381405_18375.c:10:10: error: stray '\313' in program
0_0_17381405_18375.c:10:10: error: stray '\371' in program
0_0_17381405_18375.c:10:10: error: stray '\322' in program
0_0_17381405_18375.c:10:10: error: stray '\324' in program
0_0_17381405_18375.c:10:10: error: stray '\316' in program
0_0_17381405_18375.c:10:10: error: stray '\322' in program
0_0_17381405_18375.c:10:10: error: stray '\276' in program
0_0_17381405_18375.c:10:10: error: stray '\315' in program
0_0_17381405_18375.c:10:10: error: stray '\260' in program
0_0_17381405_18375.c:10:10: error: stray '\321' in program
0_0_17381405_18375.c:10:10: error: stray '\272' in program
0_0_17381405_18375.c:10:10: error: stray '\315' in program
0_0_17381405_18375.c:10:10: error: stray '\325' in program
0_0_17381405_18375.c:10:10: error: stray '\342' in program
0_0_17381405_18375.c:10:10: error: stray '\301' in program
0_0_17381405_18375.c:10:10: error: stray '\275' in program
0_0_17381405_18375.c:10:10: error: stray '\270' in program
0_0_17381405_18375.c:10:10: error: stray '\366' in program
0_0_17381405_18375.c:10:10: error: stray '\263' in program
0_0_17381405_18375.c:10:10: error: stray '\243' in program
0_0_17381405_18375.c:10:10: error: stray '\323' in program
0_0_17381405_18375.c:10:10: error: stray '\303' in program
0_0_17381405_18375.c:10:10: error: stray '\265' in program
0_0_17381405_18375.c:10:10: error: stray '\304' in program
0_0_17381405_18375.c:10:10: error: stray '\267' in program
0_0_17381405_18375.c:10:10: error: stray '\305' in program
0_0_17381405_18375.c:10:10: error: stray '\265' in program
0_0_17381405_18375.c:10:10: error: stray '\275' in program
0_0_17381405_18375.c:10:10: error: stray '\327' in program
0_0_17381405_18375.c:10:10: error: stray '\356' in program
0_0_17381405_18375.c:10:10: error: stray '\277' in program
0_0_17381405_18375.c:10:10: error: stray '\252' in program
0_0_17381405_18375.c:10:10: error: stray '\315' in program
0_0_17381405_18375.c:10:10: error: stray '\267' in program
0_0_17381405_18375.c:10:10: error: stray '\301' in program
0_0_17381405_18375.c:10:10: error: stray '\313' in program
0_0_17381405_18375.c:10:10: error: stray '\241' in program
0_0_17381405_18375.c:10:10: error: stray '\243' in program
0_0_17381405_18375.c:10:10: error: stray '\241' in program
0_0_17381405_18375.c:10:10: error: stray '\243' in program
0_0_17381405_18375.c:16:1: error: unknown type name 'Edge'
 Edge edge[MAXM];
 ^
0_0_17381405_18375.c: In function 'addEdge':
0_0_17381405_18375.c:19:13: error: request for member 'v' in something not a structure or union
     edge[NE].v=v; edge[NE].w=w;
             ^
0_0_17381405_18375.c:19:27: error: request for member 'w' in something not a structure or union
     edge[NE].v=v; edge[NE].w=w;
                           ^
0_0_17381405_18375.c:20:13: error: request for member 'next' in something not a structure or union
     edge[NE].next=head[u]; head[u]=NE++;
             ^
0_0_17381405_18375.c: In function 'dijkstra':
0_0_17381405_18375.c:77:43: error: request for member 'next' in something not a structure or union
         for(i=head[nd.u]; i!=-1; i=edge[i].next){
                                           ^
0_0_17381405_18375.c:78:26: error: request for member 'v' in something not a structure or union
             int v=edge[i].v;
                          ^
0_0_17381405_18375.c:80:36: error: request for member 'w' in something not a structure or union
             if(d[v]>d[nd.u]+edge[i].w){
                                    ^
0_0_17381405_18375.c:81:37: error: request for member 'w' in something not a structure or union
                 d[v]=d[nd.u]+edge[i].w;
                                     ^
0_0_17381405_18375.c: In function 'getsize':
0_0_17381405_18375.c:95:36: error: request for member 'next' in something not a structure or union
     for(i=head[u]; i!=-1; i=edge[i].next){
                                    ^
0_0_17381405_18375.c:96:22: error: request for member 'v' in something not a structure or union
         int v=edge[i].v;
                      ^
0_0_17381405_18375.c: In function 'getcen':
0_0_17381405_18375.c:105:36: error: request for member 'next' in something not a structure or union
     for(i=head[u]; i!=-1; i=edge[i].next){
                                    ^
0_0_17381405_18375.c:106:22: error: request for member 'v' in something not a structure or union
         int v=edge[i].v;
                      ^
0_0_17381405_18375.c: In function 'conqurCnt':
0_0_17381405_18375.c:142:36: error: request for member 'next' in something not a structure or union
     for(i=head[u]; i!=-1; i=edge[i].next){
                                    ^
0_0_17381405_18375.c:143:22: error: request for member 'v' in something not a structure or union
         int v=edge[i].v;
                      ^
0_0_17381405_18375.c:145:34: error: request for member 'w' in something not a structure or union
         conqurCnt(v,u,val+edge[i].w,tot+1);
                                  ^
0_0_17381405_18375.c: In function 'conqur':
0_0_17381405_18375.c:150:36: error: request for member 'next' in something not a structure or union
     for(i=head[u]; i!=-1; i=edge[i].next){
                                    ^
0_0_17381405_18375.c:151:22: error: request for member 'v' in something not a structure or union
         int v=edge[i].v;
                      ^
0_0_17381405_18375.c:154:30: error: request for member 'w' in something not a structure or union
         conqurCnt(v,v,edge[i].w,1);
                              ^
0_0_17381405_18375.c: In function 'divide':
0_0_17381405_18375.c:198:36: error: request for member 'next' in something not a structure or union
     for(i=head[u]; i!=-1; i=edge[i].next){
                                    ^
0_0_17381405_18375.c:199:22: error: request for member 'v' in something not a structure or union
         int v=edge[i].v;
                      ^
0_0_17381405_18375.c: In function 'dfs':
0_0_17381405_18375.c:223:36: error: request for member 'next' in something not a structure or union
     for(i=head[u]; i!=-1; i=edge[i].next){
                                    ^
0_0_17381405_18375.c:224:22: error: request for member 'v' in something not a structure or union
         int v=edge[i].v;
                      ^
0_0_17381405_18375.c:225:34: error: request for member 'w' in something not a structure or union
         if(vis[v] || d[u]+edge[i].w!=d[v]) continue;
                                  ^
0_0_17381405_18375.c:226:58: error: request for member 'w' in something not a structure or union
         node[cnt].u=u; node[cnt].v=v; node[cnt].w=edge[i].w;
                                                          ^


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 12:18:42, Gzip enabled