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_13966473_3744\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_13966473_3744\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_13966473_3744\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_13966473_3744\Main.java:3: 错误: 非法字符: '#'
#include <memory.h>
^
0_0_13966473_3744\Main.java:5: 错误: 需要class, interface或enum
const int inf = 1 << 29;
^
0_0_13966473_3744\Main.java:6: 错误: 需要class, interface或enum
const int maxn = 1010;
^
0_0_13966473_3744\Main.java:7: 错误: 需要class, interface或enum
const int maxe = 2100000;
^
0_0_13966473_3744\Main.java:8: 错误: 需要class, interface或enum
struct node
^
0_0_13966473_3744\Main.java:11: 错误: 需要class, interface或enum
    int next;
    ^
0_0_13966473_3744\Main.java:12: 错误: 需要class, interface或enum
}edge[maxe];
^
0_0_13966473_3744\Main.java:13: 错误: 需要class, interface或enum
int head[maxn],cur[maxn],dis[maxn],gap[maxn],pre[maxn];
^
0_0_13966473_3744\Main.java:14: 错误: 需要class, interface或enum
int B[maxn][maxn],C[maxn],D[maxn];
^
0_0_13966473_3744\Main.java:15: 错误: 需要class, interface或enum
int n,s,t,idx,sum;
^
0_0_13966473_3744\Main.java:17: 错误: 需要class, interface或enum
void init()
^
0_0_13966473_3744\Main.java:20: 错误: 需要class, interface或enum
    memset(D,0,sizeof(D));
    ^
0_0_13966473_3744\Main.java:21: 错误: 需要class, interface或enum
    scanf("%d",&n);
    ^
0_0_13966473_3744\Main.java:22: 错误: 需要class, interface或enum
    s = idx = sum = 0;
    ^
0_0_13966473_3744\Main.java:23: 错误: 需要class, interface或enum
    t = n + 1;
    ^
0_0_13966473_3744\Main.java:24: 错误: 需要class, interface或enum
    return;
    ^
0_0_13966473_3744\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_13966473_3744\Main.java:30: 错误: 需要class, interface或enum
    edge[idx].w = w;
    ^
0_0_13966473_3744\Main.java:31: 错误: 需要class, interface或enum
    edge[idx].next = head[u];
    ^
0_0_13966473_3744\Main.java:32: 错误: 需要class, interface或enum
    head[u] = idx++;
    ^
0_0_13966473_3744\Main.java:34: 错误: 需要class, interface或enum
    edge[idx].v = u;
    ^
0_0_13966473_3744\Main.java:35: 错误: 需要class, interface或enum
    edge[idx].w = 0;
    ^
0_0_13966473_3744\Main.java:36: 错误: 需要class, interface或enum
    edge[idx].next = head[v];
    ^
0_0_13966473_3744\Main.java:37: 错误: 需要class, interface或enum
    head[v] = idx++;
    ^
0_0_13966473_3744\Main.java:38: 错误: 需要class, interface或enum
    return;
    ^
0_0_13966473_3744\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_13966473_3744\Main.java:43: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                ^
0_0_13966473_3744\Main.java:43: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                     ^
0_0_13966473_3744\Main.java:45: 错误: 需要class, interface或enum
        for(int j=1;j<=n;j++)
                    ^
0_0_13966473_3744\Main.java:45: 错误: 需要class, interface或enum
        for(int j=1;j<=n;j++)
                         ^
0_0_13966473_3744\Main.java:48: 错误: 需要class, interface或enum
            D[j] += B[i][j];
            ^
0_0_13966473_3744\Main.java:49: 错误: 需要class, interface或enum
            if(i != j) addedge(i,j,B[i][j]);
            ^
0_0_13966473_3744\Main.java:50: 错误: 需要class, interface或enum
        }
        ^
0_0_13966473_3744\Main.java:52: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                ^
0_0_13966473_3744\Main.java:52: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                     ^
0_0_13966473_3744\Main.java:55: 错误: 需要class, interface或enum
        addedge(s,i,C[i]);
        ^
0_0_13966473_3744\Main.java:56: 错误: 需要class, interface或enum
        addedge(i,t,D[i]);
        ^
0_0_13966473_3744\Main.java:57: 错误: 需要class, interface或enum
        sum += D[i];
        ^
0_0_13966473_3744\Main.java:58: 错误: 需要class, interface或enum
    }
    ^
0_0_13966473_3744\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_13966473_3744\Main.java:65: 错误: 需要class, interface或enum
    memset(dis,0,sizeof(dis));
    ^
0_0_13966473_3744\Main.java:66: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++)
    ^
0_0_13966473_3744\Main.java:66: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++)
                ^
0_0_13966473_3744\Main.java:66: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++)
                    ^
0_0_13966473_3744\Main.java:69: 错误: 需要class, interface或enum
    }
    ^
0_0_13966473_3744\Main.java:71: 错误: 需要class, interface或enum
    int maxflow = 0,flow = inf;
    ^
0_0_13966473_3744\Main.java:72: 错误: 需要class, interface或enum
    gap[s] = N;
    ^
0_0_13966473_3744\Main.java:73: 错误: 需要class, interface或enum
    while(dis[s] < N)
    ^
0_0_13966473_3744\Main.java:75: 错误: 需要class, interface或enum
        for(i=cur[top];i != -1;i=edge[i].next)
                       ^
0_0_13966473_3744\Main.java:75: 错误: 需要class, interface或enum
        for(i=cur[top];i != -1;i=edge[i].next)
                               ^
0_0_13966473_3744\Main.java:80: 错误: 需要class, interface或enum
            }
            ^
0_0_13966473_3744\Main.java:85: 错误: 需要class, interface或enum
            if(edge[i].w < flow)
            ^
0_0_13966473_3744\Main.java:88: 错误: 需要class, interface或enum
            }
            ^
0_0_13966473_3744\Main.java:90: 错误: 需要class, interface或enum
            pre[top] = i;
            ^
0_0_13966473_3744\Main.java:91: 错误: 需要class, interface或enum
            if(top == t)
            ^
0_0_13966473_3744\Main.java:94: 错误: 需要class, interface或enum
                while(top != s)
                ^
0_0_13966473_3744\Main.java:97: 错误: 需要class, interface或enum
                    edge[pre[top]^1].w += flow;
                    ^
0_0_13966473_3744\Main.java:98: 错误: 需要class, interface或enum
                    top = edge[pre[top]^1].v;
                    ^
0_0_13966473_3744\Main.java:99: 错误: 需要class, interface或enum
                }
                ^
0_0_13966473_3744\Main.java:101: 错误: 需要class, interface或enum
            }
            ^
0_0_13966473_3744\Main.java:108: 错误: 需要class, interface或enum
            }
            ^
0_0_13966473_3744\Main.java:110: 错误: 需要class, interface或enum
            dis[top] = N;
            ^
0_0_13966473_3744\Main.java:111: 错误: 需要class, interface或enum
            for(int j=head[top];j != -1;j=edge[j].next)
            ^
0_0_13966473_3744\Main.java:111: 错误: 需要class, interface或enum
            for(int j=head[top];j != -1;j=edge[j].next)
                                ^
0_0_13966473_3744\Main.java:111: 错误: 需要class, interface或enum
            for(int j=head[top];j != -1;j=edge[j].next)
                                        ^
0_0_13966473_3744\Main.java:116: 错误: 需要class, interface或enum
                    dis[top] = dis[edge[j].v] + 1;
                    ^
0_0_13966473_3744\Main.java:117: 错误: 需要class, interface或enum
                }
                ^
0_0_13966473_3744\Main.java:120: 错误: 需要class, interface或enum
            if(top != s)
            ^
0_0_13966473_3744\Main.java:123: 错误: 需要class, interface或enum
            }
            ^
0_0_13966473_3744\Main.java:127: 错误: 需要class, interface或enum
}
^
0_0_13966473_3744\Main.java:132: 错误: 需要class, interface或enum
    scanf("%d",&cas);
    ^
0_0_13966473_3744\Main.java:133: 错误: 需要class, interface或enum
    while(cas--)
    ^
0_0_13966473_3744\Main.java:136: 错误: 需要class, interface或enum
        read();
        ^
0_0_13966473_3744\Main.java:137: 错误: 需要class, interface或enum
        printf("%d\n",sum - isap(t+1));
        ^
0_0_13966473_3744\Main.java:138: 错误: 需要class, interface或enum
    }
    ^
0_0_13966473_3744\Main.java:140: 错误: 需要class, interface或enum
}
^
79 个错误


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-25 13:24:51, Gzip enabled