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_33830163_27033.cpp:17:8: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
        ^
0_0_33830163_27033.cpp:17:14: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
              ^
0_0_33830163_27033.cpp:17:20: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
                    ^
0_0_33830163_27033.cpp:17:26: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
                          ^
0_0_33830163_27033.cpp:17:32: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
                                ^
0_0_33830163_27033.cpp:17:37: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
                                     ^
0_0_33830163_27033.cpp:17:44: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
                                            ^
0_0_33830163_27033.cpp:17:49: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
                                                 ^
0_0_33830163_27033.cpp:17:52: error: 'N' was not declared in this scope
 int hd[N],es[N],ed[N],vg[N],vb[N],s[N],ans[N],a[N][N];
                                                    ^
0_0_33830163_27033.cpp: In function 'void insert(int, int, int)':
0_0_33830163_27033.cpp:21:12: error: 'hd' was not declared in this scope
  p[tot].nc=hd[x];hd[x]=tot;
            ^
0_0_33830163_27033.cpp: In function 'bool dfs(int)':
0_0_33830163_27033.cpp:25:2: error: 'vg' was not declared in this scope
  vg[x]=true;
  ^
0_0_33830163_27033.cpp:26:12: error: 'hd' was not declared in this scope
  for(int z=hd[x];z;z=p[z].nc){
            ^
0_0_33830163_27033.cpp:28:6: error: 'vb' was not declared in this scope
   if(vb[i])continue;
      ^
0_0_33830163_27033.cpp:29:9: error: 'es' was not declared in this scope
   int g=es[x]-p[z].l+ed[i];
         ^
0_0_33830163_27033.cpp:29:22: error: 'ed' was not declared in this scope
   int g=es[x]-p[z].l+ed[i];
                      ^
0_0_33830163_27033.cpp:31:4: error: 'vb' was not declared in this scope
    vb[i]=true;
    ^
0_0_33830163_27033.cpp:32:7: error: 'ans' was not declared in this scope
    if(ans[i]==0||dfs(ans[i])){
       ^
0_0_33830163_27033.cpp:37:8: error: 's' was not declared in this scope
   else s[i]=min(s[i],g);
        ^
0_0_33830163_27033.cpp: In function 'int pp()':
0_0_33830163_27033.cpp:42:4: error: 'ed' was not declared in this scope
  M(ed,0);
    ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^
0_0_33830163_27033.cpp:44:5: error: 's' was not declared in this scope
   M(s,63);
     ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^
0_0_33830163_27033.cpp:46:6: error: 'vb' was not declared in this scope
    M(vb,0);M(vg,0);
      ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^
0_0_33830163_27033.cpp:46:14: error: 'vg' was not declared in this scope
    M(vb,0);M(vg,0);
              ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^
0_0_33830163_27033.cpp:52:15: error: 'es' was not declared in this scope
     if(vg[j]) es[j]-=d;
               ^
0_0_33830163_27033.cpp:60:9: error: 'a' was not declared in this scope
    Ans+=a[ans[i]][i];
         ^
0_0_33830163_27033.cpp:60:11: error: 'ans' was not declared in this scope
    Ans+=a[ans[i]][i];
           ^
0_0_33830163_27033.cpp: In function 'int main()':
0_0_33830163_27033.cpp:67:18: error: 'ed' was not declared in this scope
   tot=0;M(p,0);M(ed,0);M(ans,0);M(hd,0);
                  ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^
0_0_33830163_27033.cpp:67:26: error: 'ans' was not declared in this scope
   tot=0;M(p,0);M(ed,0);M(ans,0);M(hd,0);
                          ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^
0_0_33830163_27033.cpp:67:35: error: 'hd' was not declared in this scope
   tot=0;M(p,0);M(ed,0);M(ans,0);M(hd,0);
                                   ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^
0_0_33830163_27033.cpp:68:5: error: 'es' was not declared in this scope
   M(es,129),M(a,63);
     ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^
0_0_33830163_27033.cpp:68:15: error: 'a' was not declared in this scope
   M(es,129),M(a,63);
               ^
0_0_33830163_27033.cpp:9:23: note: in definition of macro 'M'
 #define M(a,b) memset(a,b,sizeof(a))
                       ^


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-24 19:49:41, Gzip enabled