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_19332204_19912.cpp:7:1: error: 'constint' does not name a type
 constint MAXN = 10000;
 ^
0_0_19332204_19912.cpp:8:1: error: 'constint' does not name a type
 constint MAXM = 100000;
 ^
0_0_19332204_19912.cpp:9:1: error: 'constint' does not name a type
 constint INF = 0x3f3f3f3f;
 ^
0_0_19332204_19912.cpp:14:8: error: 'MAXM' was not declared in this scope
 } edge[MAXM],HH[MAXN],MM[MAXN];
        ^
0_0_19332204_19912.cpp:14:17: error: 'MAXN' was not declared in this scope
 } edge[MAXM],HH[MAXN],MM[MAXN];
                 ^
0_0_19332204_19912.cpp:14:26: error: 'MAXN' was not declared in this scope
 } edge[MAXM],HH[MAXN],MM[MAXN];
                          ^
0_0_19332204_19912.cpp:15:10: error: 'MAXN' was not declared in this scope
 int head[MAXN],tol;
          ^
0_0_19332204_19912.cpp:16:9: error: 'MAXN' was not declared in this scope
 int pre[MAXN],dis[MAXN];
         ^
0_0_19332204_19912.cpp:16:19: error: 'MAXN' was not declared in this scope
 int pre[MAXN],dis[MAXN];
                   ^
0_0_19332204_19912.cpp:17:1: error: 'boolvis' does not name a type
 boolvis[MAXN];
 ^
0_0_19332204_19912.cpp:19:10: error: 'MAXN' was not declared in this scope
 char map[MAXN][MAXN];
          ^
0_0_19332204_19912.cpp:19:16: error: 'MAXN' was not declared in this scope
 char map[MAXN][MAXN];
                ^
0_0_19332204_19912.cpp: In function 'int voidinit()':
0_0_19332204_19912.cpp:22:9: error: 'MAXN' was not declared in this scope
     N = MAXN;
         ^
0_0_19332204_19912.cpp:24:8: error: 'head' was not declared in this scope
 memset(head, -1, sizeof(head));
        ^
0_0_19332204_19912.cpp: In function 'void addedge(int, int, int, int)':
0_0_19332204_19912.cpp:28:1: error: 'edge' was not declared in this scope
 edge[tol]. to = v;
 ^
0_0_19332204_19912.cpp:32:19: error: 'head' was not declared in this scope
 edge[tol]. next = head[u];
                   ^
0_0_19332204_19912.cpp: In function 'int boolspfa(int, int)':
0_0_19332204_19912.cpp:46:1: error: 'dis' was not declared in this scope
 dis[i] = INF;
 ^
0_0_19332204_19912.cpp:46:10: error: 'INF' was not declared in this scope
 dis[i] = INF;
          ^
0_0_19332204_19912.cpp:47:1: error: 'vis' was not declared in this scope
 vis[i] = false;
 ^
0_0_19332204_19912.cpp:48:1: error: 'pre' was not declared in this scope
 pre[i] = -1;
 ^
0_0_19332204_19912.cpp:50:1: error: 'dis' was not declared in this scope
 dis[s] = 0;
 ^
0_0_19332204_19912.cpp:51:1: error: 'vis' was not declared in this scope
 vis[s] = true;
 ^
0_0_19332204_19912.cpp:58:13: error: 'head' was not declared in this scope
 for(int i = head[u]; i != -1; i = edge[i]. next)
             ^
0_0_19332204_19912.cpp:58:35: error: 'edge' was not declared in this scope
 for(int i = head[u]; i != -1; i = edge[i]. next)
                                   ^
0_0_19332204_19912.cpp:65:1: error: 'pre' was not declared in this scope
 pre[v] = i;
 ^
0_0_19332204_19912.cpp:74:4: error: 'pre' was not declared in this scope
 if(pre[t] == -1) return false;
    ^
0_0_19332204_19912.cpp: In function 'int intminCostMaxflow(int, int, int&)':
0_0_19332204_19912.cpp:82:15: error: 'spfa' was not declared in this scope
 while(spfa(s,t))
               ^
0_0_19332204_19912.cpp:84:11: error: 'INF' was not declared in this scope
 int Min = INF;
           ^
0_0_19332204_19912.cpp:85:13: error: 'pre' was not declared in this scope
 for(int i = pre[t]; i != -1; i = pre[edge[i^1]. to])
             ^
0_0_19332204_19912.cpp:85:38: error: 'edge' was not declared in this scope
 for(int i = pre[t]; i != -1; i = pre[edge[i^1]. to])
                                      ^
0_0_19332204_19912.cpp:90:13: error: 'pre' was not declared in this scope
 for(int i = pre[t]; i != -1; i = pre[edge[i^1]. to])
             ^
0_0_19332204_19912.cpp:90:38: error: 'edge' was not declared in this scope
 for(int i = pre[t]; i != -1; i = pre[edge[i^1]. to])
                                      ^
0_0_19332204_19912.cpp: In function 'int main()':
0_0_19332204_19912.cpp:108:1: error: 'intch' was not declared in this scope
 intch = 0, cm = 0;
 ^
0_0_19332204_19912.cpp:108:12: error: 'cm' was not declared in this scope
 intch = 0, cm = 0;
            ^
0_0_19332204_19912.cpp:109:6: error: 'init' was not declared in this scope
 init();//×¢Òâ
      ^
0_0_19332204_19912.cpp:112:12: error: 'map' was not declared in this scope
 scanf("%s",map[i]);
            ^
0_0_19332204_19912.cpp:117:1: error: 'HH' was not declared in this scope
 HH[ch].x = i;
 ^
0_0_19332204_19912.cpp:117:4: error: 'ch' was not declared in this scope
 HH[ch].x = i;
    ^
0_0_19332204_19912.cpp:122:1: error: 'MM' was not declared in this scope
 MM[cm].x = i;
 ^
0_0_19332204_19912.cpp:129:13: error: 'ch' was not declared in this scope
 int end = 2*ch+1;//³¬¼¶»ãµã
             ^
0_0_19332204_19912.cpp:135:1: error: 'inttt' was not declared in this scope
 inttt = abs(HH[i].x-MM[j].x)+abs(HH[i].y-MM[j].y);
 ^
0_0_19332204_19912.cpp:135:13: error: 'HH' was not declared in this scope
 inttt = abs(HH[i].x-MM[j].x)+abs(HH[i].y-MM[j].y);
             ^
0_0_19332204_19912.cpp:135:21: error: 'MM' was not declared in this scope
 inttt = abs(HH[i].x-MM[j].x)+abs(HH[i].y-MM[j].y);
                     ^
0_0_19332204_19912.cpp:137:22: error: 'tt' was not declared in this scope
 addedge(i+1,j+1+ch,1,tt);
                      ^
0_0_19332204_19912.cpp:141:1: error: 'intans' was not declared in this scope
 intans = 0;
 ^
0_0_19332204_19912.cpp:142:24: error: 'ans' was not declared in this scope
 minCostMaxflow(beg,end,ans);
                        ^
0_0_19332204_19912.cpp:142:27: error: 'minCostMaxflow' was not declared in this scope
 minCostMaxflow(beg,end,ans);
                           ^


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-10-25 19:20:26, Gzip enabled