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_19116216_15887\Main.java:1: 错误: 非法字符: '#'
    #include<cmath>  
    ^
0_0_19116216_15887\Main.java:1: 错误: 需要class, interface或enum
    #include<cmath>  
            ^
0_0_19116216_15887\Main.java:2: 错误: 非法字符: '#'
    #include<stdio.h>  
    ^
0_0_19116216_15887\Main.java:3: 错误: 非法字符: '#'
    #include<iostream>  
    ^
0_0_19116216_15887\Main.java:4: 错误: 非法字符: '#'
    #include<algorithm>  
    ^
0_0_19116216_15887\Main.java:5: 错误: 非法字符: '#'
    #include<string.h>  
    ^
0_0_19116216_15887\Main.java:6: 错误: 非法字符: '#'
    #include<queue>  
    ^
0_0_19116216_15887\Main.java:9: 错误: 需要class, interface或enum
    const int MAXN=300;  
    ^
0_0_19116216_15887\Main.java:10: 错误: 需要class, interface或enum
    const int MAXE=100000;  
    ^
0_0_19116216_15887\Main.java:11: 错误: 需要class, interface或enum
    const int INF=2e9;  
    ^
0_0_19116216_15887\Main.java:12: 错误: 需要class, interface或enum
    const double eps = 1e-8;  
    ^
0_0_19116216_15887\Main.java:13: 错误: 需要class, interface或enum
    struct Edge  
    ^
0_0_19116216_15887\Main.java:16: 错误: 需要class, interface或enum
        int to;  
        ^
0_0_19116216_15887\Main.java:17: 错误: 需要class, interface或enum
        int next;  
        ^
0_0_19116216_15887\Main.java:18: 错误: 需要class, interface或enum
        int re;//记录逆边的下标  
        ^
0_0_19116216_15887\Main.java:19: 错误: 需要class, interface或enum
        int cap;//容量  
        ^
0_0_19116216_15887\Main.java:20: 错误: 需要class, interface或enum
        double cost;//费用  
        ^
0_0_19116216_15887\Main.java:21: 错误: 需要class, interface或enum
    }edge[MAXE];  
    ^
0_0_19116216_15887\Main.java:22: 错误: 需要class, interface或enum
    int pre[MAXN];  
    ^
0_0_19116216_15887\Main.java:23: 错误: 需要class, interface或enum
    int head[MAXN];  
    ^
0_0_19116216_15887\Main.java:24: 错误: 需要class, interface或enum
    bool vis[MAXN];  
    ^
0_0_19116216_15887\Main.java:25: 错误: 需要class, interface或enum
    int que[MAXN];  
    ^
0_0_19116216_15887\Main.java:26: 错误: 需要class, interface或enum
    double dist[MAXN];  
    ^
0_0_19116216_15887\Main.java:27: 错误: 需要class, interface或enum
    int tol;//边的总数  
    ^
0_0_19116216_15887\Main.java:28: 错误: 需要class, interface或enum
    void add(int u,int v,int ca,double co)  
    ^
0_0_19116216_15887\Main.java:31: 错误: 需要class, interface或enum
        edge[tol].to=v;  
        ^
0_0_19116216_15887\Main.java:32: 错误: 需要class, interface或enum
        edge[tol].cap=ca;  
        ^
0_0_19116216_15887\Main.java:33: 错误: 需要class, interface或enum
        edge[tol].cost=co;  
        ^
0_0_19116216_15887\Main.java:34: 错误: 需要class, interface或enum
        edge[tol].re=tol+1;  
        ^
0_0_19116216_15887\Main.java:35: 错误: 需要class, interface或enum
        edge[tol].next=head[u];  
        ^
0_0_19116216_15887\Main.java:36: 错误: 需要class, interface或enum
        head[u]=tol++;  
        ^
0_0_19116216_15887\Main.java:38: 错误: 需要class, interface或enum
        edge[tol].from=v;//加逆边  
        ^
0_0_19116216_15887\Main.java:39: 错误: 需要class, interface或enum
        edge[tol].to=u;  
        ^
0_0_19116216_15887\Main.java:40: 错误: 需要class, interface或enum
        edge[tol].cap=0;  
        ^
0_0_19116216_15887\Main.java:41: 错误: 需要class, interface或enum
        edge[tol].cost=-co;  
        ^
0_0_19116216_15887\Main.java:42: 错误: 需要class, interface或enum
        edge[tol].re=tol-1;  
        ^
0_0_19116216_15887\Main.java:43: 错误: 需要class, interface或enum
        edge[tol].next=head[v];  
        ^
0_0_19116216_15887\Main.java:44: 错误: 需要class, interface或enum
        head[v]=tol++;  
        ^
0_0_19116216_15887\Main.java:45: 错误: 需要class, interface或enum
    }  
    ^
0_0_19116216_15887\Main.java:47: 错误: 需要class, interface或enum
    int start;  
    ^
0_0_19116216_15887\Main.java:48: 错误: 需要class, interface或enum
    int T;  
    ^
0_0_19116216_15887\Main.java:49: 错误: 需要class, interface或enum
    bool SPFA()  
    ^
0_0_19116216_15887\Main.java:52: 错误: 需要class, interface或enum
        for(int v=0;v<=N;v++)  
        ^
0_0_19116216_15887\Main.java:52: 错误: 需要class, interface或enum
        for(int v=0;v<=N;v++)  
                    ^
0_0_19116216_15887\Main.java:52: 错误: 需要class, interface或enum
        for(int v=0;v<=N;v++)  
                         ^
0_0_19116216_15887\Main.java:57: 错误: 需要class, interface或enum
                vis[v]=true;  
                ^
0_0_19116216_15887\Main.java:58: 错误: 需要class, interface或enum
                dist[v]=0;  
                ^
0_0_19116216_15887\Main.java:59: 错误: 需要class, interface或enum
            }  
            ^
0_0_19116216_15887\Main.java:63: 错误: 需要class, interface或enum
                vis[v]=false;  
                ^
0_0_19116216_15887\Main.java:64: 错误: 需要class, interface或enum
            }  
            ^
0_0_19116216_15887\Main.java:67: 错误: 需要class, interface或enum
        while(front!=rear)  
        ^
0_0_19116216_15887\Main.java:70: 错误: 需要class, interface或enum
            vis[u]=false;  
            ^
0_0_19116216_15887\Main.java:71: 错误: 需要class, interface或enum
            if(front>=MAXN)front=0;  
            ^
0_0_19116216_15887\Main.java:72: 错误: 需要class, interface或enum
            for(int i=head[u];i!=-1;i=edge[i].next)  
            ^
0_0_19116216_15887\Main.java:72: 错误: 需要class, interface或enum
            for(int i=head[u];i!=-1;i=edge[i].next)  
                              ^
0_0_19116216_15887\Main.java:72: 错误: 需要class, interface或enum
            for(int i=head[u];i!=-1;i=edge[i].next)  
                                    ^
0_0_19116216_15887\Main.java:75: 错误: 需要class, interface或enum
                if(edge[i].cap&&dist[v]-dist[u]-edge[i].cost > eps)  
                ^
0_0_19116216_15887\Main.java:78: 错误: 需要class, interface或enum
                    pre[v]=i;  
                    ^
0_0_19116216_15887\Main.java:79: 错误: 需要class, interface或enum
                    if(!vis[v])  
                    ^
0_0_19116216_15887\Main.java:82: 错误: 需要class, interface或enum
                        vis[v]=true;  
                        ^
0_0_19116216_15887\Main.java:83: 错误: 需要class, interface或enum
                        if(rear>=MAXN)rear=0;  
                        ^
0_0_19116216_15887\Main.java:84: 错误: 需要class, interface或enum
                    }  
                    ^
0_0_19116216_15887\Main.java:89: 错误: 需要class, interface或enum
        return true;  
        ^
0_0_19116216_15887\Main.java:90: 错误: 需要class, interface或enum
    }  
    ^
0_0_19116216_15887\Main.java:92: 错误: 需要class, interface或enum
    int f;//最大流  
    ^
0_0_19116216_15887\Main.java:94: 错误: 需要class, interface或enum
    void minCostMaxflow()  
    ^
0_0_19116216_15887\Main.java:97: 错误: 需要class, interface或enum
        c = 0;  
        ^
0_0_19116216_15887\Main.java:98: 错误: 需要class, interface或enum
        int u,p;  
        ^
0_0_19116216_15887\Main.java:99: 错误: 需要class, interface或enum
        while(SPFA())  
        ^
0_0_19116216_15887\Main.java:102: 错误: 需要class, interface或enum
            for(u=T;u!=start;u=edge[p].from)  
            ^
0_0_19116216_15887\Main.java:102: 错误: 需要class, interface或enum
            for(u=T;u!=start;u=edge[p].from)  
                    ^
0_0_19116216_15887\Main.java:102: 错误: 需要class, interface或enum
            for(u=T;u!=start;u=edge[p].from)  
                             ^
0_0_19116216_15887\Main.java:105: 错误: 需要class, interface或enum
                Min=min(Min,edge[p].cap);  
                ^
0_0_19116216_15887\Main.java:106: 错误: 需要class, interface或enum
            }  
            ^
0_0_19116216_15887\Main.java:107: 错误: 需要class, interface或enum
            for(u=T;u!=start;u=edge[p].from)  
                    ^
0_0_19116216_15887\Main.java:107: 错误: 需要class, interface或enum
            for(u=T;u!=start;u=edge[p].from)  
                             ^
0_0_19116216_15887\Main.java:110: 错误: 需要class, interface或enum
                edge[p].cap-=Min;  
                ^
0_0_19116216_15887\Main.java:111: 错误: 需要class, interface或enum
                edge[edge[p].re].cap+=Min;  
                ^
0_0_19116216_15887\Main.java:113: 错误: 需要class, interface或enum
            }  
            ^
0_0_19116216_15887\Main.java:115: 错误: 需要class, interface或enum
            f+=Min;  
            ^
0_0_19116216_15887\Main.java:116: 错误: 需要class, interface或enum
        }  
        ^
0_0_19116216_15887\Main.java:122: 错误: 需要class, interface或enum
    }a[110];  
    ^
0_0_19116216_15887\Main.java:123: 错误: 需要class, interface或enum
    int main()  
    ^
0_0_19116216_15887\Main.java:126: 错误: 需要class, interface或enum
        scanf("%d",&t);  
        ^
0_0_19116216_15887\Main.java:127: 错误: 需要class, interface或enum
        while(t--)  
        ^
0_0_19116216_15887\Main.java:130: 错误: 需要class, interface或enum
            for(i=1;i<=n;i++)  
            ^
0_0_19116216_15887\Main.java:130: 错误: 需要class, interface或enum
            for(i=1;i<=n;i++)  
                    ^
0_0_19116216_15887\Main.java


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-12-02 04:10:56, Gzip enabled