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_16740098_1264.cpp:24:4: error: 'MAXM' was not declared in this scope
 }E[MAXM];
    ^
0_0_16740098_1264.cpp:25:10: error: 'MAXN' was not declared in this scope
 int head[MAXN],ecnt;
          ^
0_0_16740098_1264.cpp:26:11: error: 'MAXN' was not declared in this scope
 int Stack[MAXN],dis[MAXN],cnt[MAXN];
           ^
0_0_16740098_1264.cpp:26:21: error: 'MAXN' was not declared in this scope
 int Stack[MAXN],dis[MAXN],cnt[MAXN];
                     ^
0_0_16740098_1264.cpp:26:31: error: 'MAXN' was not declared in this scope
 int Stack[MAXN],dis[MAXN],cnt[MAXN];
                               ^
0_0_16740098_1264.cpp:27:11: error: 'MAXN' was not declared in this scope
 bool used[MAXN];
           ^
0_0_16740098_1264.cpp: In function 'void Insert(int, int, int)':
0_0_16740098_1264.cpp:32:2: error: 'E' was not declared in this scope
  E[ecnt].to=to;
  ^
0_0_16740098_1264.cpp:34:15: error: 'head' was not declared in this scope
  E[ecnt].next=head[from];
               ^
0_0_16740098_1264.cpp: In function 'bool Relax(int, int, int)':
0_0_16740098_1264.cpp:39:5: error: 'dis' was not declared in this scope
  if(dis[to]>dis[from]+w)
     ^
0_0_16740098_1264.cpp: In function 'void Init()':
0_0_16740098_1264.cpp:49:9: error: 'head' was not declared in this scope
  memset(head,-1,sizeof(head));ecnt=0;
         ^
0_0_16740098_1264.cpp: In function 'int SPFA(int)':
0_0_16740098_1264.cpp:71:3: error: 'cnt' was not declared in this scope
   cnt[i]=0;
   ^
0_0_16740098_1264.cpp:72:3: error: 'used' was not declared in this scope
   used[i]=false;
   ^
0_0_16740098_1264.cpp:73:3: error: 'dis' was not declared in this scope
   dis[i]=INF; 
   ^
0_0_16740098_1264.cpp:73:10: error: 'INF' was not declared in this scope
   dis[i]=INF; 
          ^
0_0_16740098_1264.cpp:76:2: error: 'Stack' was not declared in this scope
  Stack[top++]=s;
  ^
0_0_16740098_1264.cpp:77:2: error: 'dis' was not declared in this scope
  dis[s]=0;
  ^
0_0_16740098_1264.cpp:78:2: error: 'used' was not declared in this scope
  used[s]=true;
  ^
0_0_16740098_1264.cpp:83:3: error: 'cnt' was not declared in this scope
   cnt[u]++;
   ^
0_0_16740098_1264.cpp:86:9: error: 'head' was not declared in this scope
   for(i=head[u];i!=-1;i=E[i].next)
         ^
0_0_16740098_1264.cpp:86:25: error: 'E' was not declared in this scope
   for(i=head[u];i!=-1;i=E[i].next)
                         ^
0_0_16740098_1264.cpp:96:13: error: 'INF' was not declared in this scope
  if(dis[N]==INF) 
             ^


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-27 01:14:37, Gzip enabled