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_29815757_19711.cpp:3:7: error: 'll' does not name a type
 const ll VM = 40000+7;
       ^
0_0_29815757_19711.cpp:4:7: error: 'll' does not name a type
 const ll EM = 40000+7;
       ^
0_0_29815757_19711.cpp:5:7: error: 'll' does not name a type
 const ll INF = 0x3f3f3f3f;
       ^
0_0_29815757_19711.cpp:7:7: error: 'll' does not name a type
 const ll maxn = 4e4+7;
       ^
0_0_29815757_19711.cpp:9:15: error: 'maxn' was not declared in this scope
 ll cnt, Head1[maxn], dis1[maxn], dis2[maxn], Head2[maxn], cnt1, cnt2;
               ^
0_0_29815757_19711.cpp:9:27: error: 'maxn' was not declared in this scope
 ll cnt, Head1[maxn], dis1[maxn], dis2[maxn], Head2[maxn], cnt1, cnt2;
                           ^
0_0_29815757_19711.cpp:9:39: error: 'maxn' was not declared in this scope
 ll cnt, Head1[maxn], dis1[maxn], dis2[maxn], Head2[maxn], cnt1, cnt2;
                                       ^
0_0_29815757_19711.cpp:9:52: error: 'maxn' was not declared in this scope
 ll cnt, Head1[maxn], dis1[maxn], dis2[maxn], Head2[maxn], cnt1, cnt2;
                                                    ^
0_0_29815757_19711.cpp:10:11: error: 'maxn' was not declared in this scope
 bool vis1[maxn], vis2[maxn];
           ^
0_0_29815757_19711.cpp:10:23: error: 'maxn' was not declared in this scope
 bool vis1[maxn], vis2[maxn];
                       ^
0_0_29815757_19711.cpp:22:8: error: 'maxn' was not declared in this scope
 }edge1[maxn], edge2[maxn];
        ^
0_0_29815757_19711.cpp:22:21: error: 'maxn' was not declared in this scope
 }edge1[maxn], edge2[maxn];
                     ^
0_0_29815757_19711.cpp: In function 'void Add1(ll, ll, ll)':
0_0_29815757_19711.cpp:26:5: error: 'edge1' was not declared in this scope
     edge1[cnt1].w = w;
     ^
0_0_29815757_19711.cpp:28:24: error: 'Head1' was not declared in this scope
     edge1[cnt1].next = Head1[u];
                        ^
0_0_29815757_19711.cpp: In function 'void Add2(ll, ll, ll)':
0_0_29815757_19711.cpp:33:5: error: 'edge2' was not declared in this scope
     edge2[cnt2].w = w;
     ^
0_0_29815757_19711.cpp:35:24: error: 'Head2' was not declared in this scope
     edge2[cnt2].next = Head2[u];
                        ^
0_0_29815757_19711.cpp: At global scope:
0_0_29815757_19711.cpp:39:9: error: 'VM' was not declared in this scope
 ll deep[VM], dl[EM], to[EM], flow[EM], fir[EM], nxt[EM], aim;
         ^
0_0_29815757_19711.cpp:39:17: error: 'EM' was not declared in this scope
 ll deep[VM], dl[EM], to[EM], flow[EM], fir[EM], nxt[EM], aim;
                 ^
0_0_29815757_19711.cpp:39:25: error: 'EM' was not declared in this scope
 ll deep[VM], dl[EM], to[EM], flow[EM], fir[EM], nxt[EM], aim;
                         ^
0_0_29815757_19711.cpp:39:35: error: 'EM' was not declared in this scope
 ll deep[VM], dl[EM], to[EM], flow[EM], fir[EM], nxt[EM], aim;
                                   ^
0_0_29815757_19711.cpp:39:44: error: 'EM' was not declared in this scope
 ll deep[VM], dl[EM], to[EM], flow[EM], fir[EM], nxt[EM], aim;
                                            ^
0_0_29815757_19711.cpp:39:53: error: 'EM' was not declared in this scope
 ll deep[VM], dl[EM], to[EM], flow[EM], fir[EM], nxt[EM], aim;
                                                     ^
0_0_29815757_19711.cpp: In function 'void add(ll, ll, ll)':
0_0_29815757_19711.cpp:43:5: error: 'to' was not declared in this scope
     to[cnt] = v;
     ^
0_0_29815757_19711.cpp:44:5: error: 'flow' was not declared in this scope
     flow[cnt] = w;
     ^
0_0_29815757_19711.cpp:45:5: error: 'nxt' was not declared in this scope
     nxt[cnt] = fir[u];
     ^
0_0_29815757_19711.cpp:45:16: error: 'fir' was not declared in this scope
     nxt[cnt] = fir[u];
                ^
0_0_29815757_19711.cpp: In function 'void Init(ll)':
0_0_29815757_19711.cpp:55:9: error: 'Head1' was not declared in this scope
         Head1[i] = -1;
         ^
0_0_29815757_19711.cpp:56:9: error: 'Head2' was not declared in this scope
         Head2[i] = -1;
         ^
0_0_29815757_19711.cpp:57:9: error: 'vis1' was not declared in this scope
         vis1[i] = false;
         ^
0_0_29815757_19711.cpp:58:9: error: 'vis2' was not declared in this scope
         vis2[i] = false;
         ^
0_0_29815757_19711.cpp:59:9: error: 'dis1' was not declared in this scope
         dis1[i] = INF;
         ^
0_0_29815757_19711.cpp:59:19: error: 'INF' was not declared in this scope
         dis1[i] = INF;
                   ^
0_0_29815757_19711.cpp:60:9: error: 'dis2' was not declared in this scope
         dis2[i] = INF;
         ^
0_0_29815757_19711.cpp: In function 'bool bfs(ll, ll)':
0_0_29815757_19711.cpp:66:12: error: 'deep' was not declared in this scope
     memset(deep, 0, sizeof deep);
            ^
0_0_29815757_19711.cpp:67:18: error: 'dl' was not declared in this scope
     deep[S] = 1; dl[1] = S;
                  ^
0_0_29815757_19711.cpp:72:20: error: 'fir' was not declared in this scope
         for(ll u = fir[v]; u^-1; u = nxt[u]){
                    ^
0_0_29815757_19711.cpp:72:38: error: 'nxt' was not declared in this scope
         for(ll u = fir[v]; u^-1; u = nxt[u]){
                                      ^
0_0_29815757_19711.cpp:73:16: error: 'flow' was not declared in this scope
             if(flow[u] && !deep[to[u]])
                ^
0_0_29815757_19711.cpp:73:33: error: 'to' was not declared in this scope
             if(flow[u] && !deep[to[u]])
                                 ^
0_0_29815757_19711.cpp: In function 'll dfs(ll, ll)':
0_0_29815757_19711.cpp:87:16: error: 'fir' was not declared in this scope
     for(ll u = fir[now]; u^-1 && fl; u = nxt[u]){
                ^
0_0_29815757_19711.cpp:87:42: error: 'nxt' was not declared in this scope
     for(ll u = fir[now]; u^-1 && fl; u = nxt[u]){
                                          ^
0_0_29815757_19711.cpp:89:12: error: 'flow' was not declared in this scope
         if(flow[u] && deep[to[u]] == deep[now]+1){
            ^
0_0_29815757_19711.cpp:89:23: error: 'deep' was not declared in this scope
         if(flow[u] && deep[to[u]] == deep[now]+1){
                       ^
0_0_29815757_19711.cpp:89:28: error: 'to' was not declared in this scope
         if(flow[u] && deep[to[u]] == deep[now]+1){
                            ^
0_0_29815757_19711.cpp:97:11: error: 'deep' was not declared in this scope
     if(!f)deep[now] = -2;
           ^
0_0_29815757_19711.cpp: In function 'void spfa1(ll)':
0_0_29815757_19711.cpp:103:5: error: 'dis1' was not declared in this scope
     dis1[1] = 0;
     ^
0_0_29815757_19711.cpp:104:5: error: 'vis1' was not declared in this scope
     vis1[1] = true;
     ^
0_0_29815757_19711.cpp:112:20: error: 'Head1' was not declared in this scope
         for(ll i = Head1[u]; ~i; i = edge1[i].next)
                    ^
0_0_29815757_19711.cpp:112:38: error: 'edge1' was not declared in this scope
         for(ll i = Head1[u]; ~i; i = edge1[i].next)
                                      ^
0_0_29815757_19711.cpp:115:26: error: 'w' was not declared in this scope
             if(dis1[v] > w+dis1[u])
                          ^
0_0_29815757_19711.cpp: In function 'void spfa2(ll)':
0_0_29815757_19711.cpp:129:5: error: 'dis2' was not declared in this scope
     dis2[n] = 0;
     ^
0_0_29815757_19711.cpp:130:5: error: 'vis2' was not declared in this scope
     vis2[n] = true;
     ^
0_0_29815757_19711.cpp:138:20: error: 'Head2' was not declared in this scope
         for(ll i = Head2[u]; ~i; i = edge2[i].next)
                    ^
0_0_29815757_19711.cpp:138:38: error: 'edge2' was not declared in this scope
         for(ll i = Head2[u]; ~i; i = edge2[i].next)
                                      ^
0_0_29815757_19711.cpp:141:26: error: 'w' was not declared in this scope
             if(dis2[v] > w+dis2[u])
                          ^
0_0_29815757_19711.cpp: In function 'll maxflow(ll, ll)':
0_0_29815757_19711.cpp:157:35: error: 'INF' was not declared in this scope
     while(bfs(S, T))ans += dfs(S, INF);
                                   ^
0_0_29815757_19711.cpp: At global scope:
0_0_29815757_19711.cpp:160:6: error: 'maxn' was not declared in this scope
 ll u[maxn], v[maxn], w[maxn];
      ^
0_0_29815757_19711.cpp:160:15: error: 'maxn' was not declared in this scope
 ll u[maxn], v[maxn], w[maxn];
               ^
0_0_29815757_19711.cpp:160:24: error: 'maxn' was not declared in this scope
 ll u[maxn], v[maxn], w[maxn];
                        ^
0_0_29815757_19711.cpp: In function 'int main()':
0_0_29815757_19711.cpp:167:16: error: 'fir' was not declared in this scope
         memset(fir, -1, sizeof fir);
                ^
0_0_29815757_19711.cpp:172:36: error: 'u' was not declared in this scope
             scanf("%lld%lld%lld", &u[i], &v[i], &w[i]);
                                    ^
0_0_29815757_19711.cpp:172:43: error: 'v' was not declared in this scope
             scanf("%lld%lld%lld", &u[i], &v[i], &w[i]);
                                           ^
0_0_29815757_19711.cpp:172:50: error: 'w' was not declared in this scope
             scanf("%lld%lld%lld", &u[i], &v[i], &w[i]);
                                                  ^
0_0_29815757_19711.cpp:181:16: error: 'dis1' was not declared in this scope
             if(dis1[u[i]]+dis2[v[i]]+w[i] == dis1[n])
                ^
0_0_29815757_19711.cpp:181:21: error: 'u' was not declared in this scope
             if(dis1[u[i]]+dis2[v[i]]+w[i] == dis1[n])
      


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-17 01:36:55, Gzip enabled