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_22552396_30717.cpp:128:1: error: stray '\261' in program
 length 表示在最小生成树上的两点间的最大距离!
 ^
0_0_22552396_30717.cpp:128:1: error: stray '\355' in program
0_0_22552396_30717.cpp:128:1: error: stray '\312' in program
0_0_22552396_30717.cpp:128:1: error: stray '\276' in program
0_0_22552396_30717.cpp:128:1: error: stray '\324' in program
0_0_22552396_30717.cpp:128:1: error: stray '\332' in program
0_0_22552396_30717.cpp:128:1: error: stray '\327' in program
0_0_22552396_30717.cpp:128:1: error: stray '\356' in program
0_0_22552396_30717.cpp:128:1: error: stray '\320' in program
0_0_22552396_30717.cpp:128:1: error: stray '\241' in program
0_0_22552396_30717.cpp:128:1: error: stray '\311' in program
0_0_22552396_30717.cpp:128:1: error: stray '\372' in program
0_0_22552396_30717.cpp:128:1: error: stray '\263' in program
0_0_22552396_30717.cpp:128:1: error: stray '\311' in program
0_0_22552396_30717.cpp:128:1: error: stray '\312' in program
0_0_22552396_30717.cpp:128:1: error: stray '\367' in program
0_0_22552396_30717.cpp:128:1: error: stray '\311' in program
0_0_22552396_30717.cpp:128:1: error: stray '\317' in program
0_0_22552396_30717.cpp:128:1: error: stray '\265' in program
0_0_22552396_30717.cpp:128:1: error: stray '\304' in program
0_0_22552396_30717.cpp:128:1: error: stray '\301' in program
0_0_22552396_30717.cpp:128:1: error: stray '\275' in program
0_0_22552396_30717.cpp:128:1: error: stray '\265' in program
0_0_22552396_30717.cpp:128:1: error: stray '\343' in program
0_0_22552396_30717.cpp:128:1: error: stray '\274' in program
0_0_22552396_30717.cpp:128:1: error: stray '\344' in program
0_0_22552396_30717.cpp:128:1: error: stray '\265' in program
0_0_22552396_30717.cpp:128:1: error: stray '\304' in program
0_0_22552396_30717.cpp:128:1: error: stray '\327' in program
0_0_22552396_30717.cpp:128:1: error: stray '\356' in program
0_0_22552396_30717.cpp:128:1: error: stray '\264' in program
0_0_22552396_30717.cpp:128:1: error: stray '\363' in program
0_0_22552396_30717.cpp:128:1: error: stray '\276' in program
0_0_22552396_30717.cpp:128:1: error: stray '\340' in program
0_0_22552396_30717.cpp:128:1: error: stray '\300' in program
0_0_22552396_30717.cpp:128:1: error: stray '\353' in program
0_0_22552396_30717.cpp:128:1: error: stray '\243' in program
0_0_22552396_30717.cpp:128:1: error: stray '\241' in program
0_0_22552396_30717.cpp:11:1: error: expected unqualified-id before numeric constant
 110
 ^
0_0_22552396_30717.cpp:22:2: error: 'g' does not name a type
 }g[M];
  ^
0_0_22552396_30717.cpp:29:8: error: storage size of 'edge' isn't known
 }edge[M];
        ^
0_0_22552396_30717.cpp:35:6: error: storage size of 'pre' isn't known
 pre[N],end1[N],length[N][N];
      ^
0_0_22552396_30717.cpp:35:14: error: storage size of 'end1' isn't known
 pre[N],end1[N],length[N][N];
              ^
0_0_22552396_30717.cpp:35:27: error: declaration of 'length' as multidimensional array must have bounds for all dimensions except the first
 pre[N],end1[N],length[N][N];
                           ^
0_0_22552396_30717.cpp:37:6: error: storage size of 'bin' isn't known
 bin[N];
      ^
0_0_22552396_30717.cpp: In function 'void init()':
0_0_22552396_30717.cpp:53:8: error: 'g' was not declared in this scope
 memset(g,0,sizeof(g));
        ^
0_0_22552396_30717.cpp:55:8: error: 'length' was not declared in this scope
 memset(length,0,sizeof(length));
        ^
0_0_22552396_30717.cpp: At global scope:
0_0_22552396_30717.cpp:61:9: error: 'node' was not declared in this scope
 int cmp(node x,node y)
         ^
0_0_22552396_30717.cpp:61:16: error: 'node' was not declared in this scope
 int cmp(node x,node y)
                ^
0_0_22552396_30717.cpp:61:22: error: expression list treated as compound expression in initializer [-fpermissive]
 int cmp(node x,node y)
                      ^
0_0_22552396_30717.cpp:62:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_22552396_30717.cpp: In function 'void kruscal()':
0_0_22552396_30717.cpp:81:6: error: 'g' was not declared in this scope
 sort(g,g+m,cmp);
      ^
0_0_22552396_30717.cpp:81:16: error: expected ':' before ';' token
 sort(g,g+m,cmp);
                ^
0_0_22552396_30717.cpp:81:16: error: expected primary-expression before ';' token
0_0_22552396_30717.cpp:94:1: error: 'length' was not declared in this scope
 length[edge[p].to][edge[p1].to]=length[edge[p1].to][edge[p].to]=g[i].w;
 ^
0_0_22552396_30717.cpp:99:1: error: 'is' was not declared in this scope
 is power !
 ^
0_0_22552396_30717.cpp: In function 'int main()':
0_0_22552396_30717.cpp:118:17: error: 'g' was not declared in this scope
 scanf("%d%d%d",&g[i].u,&g[i].v,&g[i].w);
                 ^
0_0_22552396_30717.cpp:122:8: error: expected primary-expression before ';' token
 min=INF;
        ^
0_0_22552396_30717.cpp:125:4: error: 'g' was not declared in this scope
 if(g[i].flag) continue
    ^
0_0_22552396_30717.cpp:127:9: error: 'g' was not declared in this scope
 if((sum+g[i].w-(length[g[i].u][g[i].v]))<min)//
         ^
0_0_22552396_30717.cpp:127:17: error: 'length' was not declared in this scope
 if((sum+g[i].w-(length[g[i].u][g[i].v]))<min)//
                 ^
0_0_22552396_30717.cpp:129:1: error: expected ';' before 'min'
 min=(sum+g[i].w-(length[g[i].u][g[i].v]));
 ^


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-29 07:21:25, Gzip enabled