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_34565797_2792\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_34565797_2792\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_34565797_2792\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_34565797_2792\Main.java:3: 错误: 非法字符: '#'
#include<vector>
^
0_0_34565797_2792\Main.java:5: 错误: 需要class, interface或enum
struct EDGE
^
0_0_34565797_2792\Main.java:8: 错误: 需要class, interface或enum
    EDGE(){}
    ^
0_0_34565797_2792\Main.java:9: 错误: 需要class, interface或enum
    EDGE(int _v,int _next){v=_v,next=_next;}
                                           ^
0_0_34565797_2792\Main.java:11: 错误: 需要class, interface或enum
int N,edgecnt,head[1500],check[1500],matching[1500];
^
0_0_34565797_2792\Main.java:12: 错误: 需要class, interface或enum
bool dfs(int u)
^
0_0_34565797_2792\Main.java:17: 错误: 需要class, interface或enum
        for(int e=head[u];e!=INF;e=edge[e].next)
        ^
0_0_34565797_2792\Main.java:17: 错误: 需要class, interface或enum
        for(int e=head[u];e!=INF;e=edge[e].next)
                          ^
0_0_34565797_2792\Main.java:17: 错误: 需要class, interface或enum
        for(int e=head[u];e!=INF;e=edge[e].next)
                                 ^
0_0_34565797_2792\Main.java:20: 错误: 需要class, interface或enum
            if(matching[v]==-1||dfs(matching[v]))
            ^
0_0_34565797_2792\Main.java:23: 错误: 需要class, interface或enum
                matching[v]=u;
                ^
0_0_34565797_2792\Main.java:24: 错误: 需要class, interface或enum
                return true;
                ^
0_0_34565797_2792\Main.java:25: 错误: 需要class, interface或enum
            }
            ^
0_0_34565797_2792\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_34565797_2792\Main.java:35: 错误: 需要class, interface或enum
        edgecnt=0;
        ^
0_0_34565797_2792\Main.java:36: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
        ^
0_0_34565797_2792\Main.java:36: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                    ^
0_0_34565797_2792\Main.java:36: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                        ^
0_0_34565797_2792\Main.java:39: 错误: 需要class, interface或enum
            scanf("%d:(%d)",&u,&nn);
            ^
0_0_34565797_2792\Main.java:40: 错误: 需要class, interface或enum
            while(nn--)
            ^
0_0_34565797_2792\Main.java:43: 错误: 需要class, interface或enum
                scanf("%d",&v);
                ^
0_0_34565797_2792\Main.java:44: 错误: 需要class, interface或enum
                edge[edgecnt]=EDGE(v,head[u]);
                ^
0_0_34565797_2792\Main.java:45: 错误: 需要class, interface或enum
                head[u]=edgecnt++;
                ^
0_0_34565797_2792\Main.java:46: 错误: 需要class, interface或enum
                edge[edgecnt]=EDGE(u,head[v]);
                ^
0_0_34565797_2792\Main.java:47: 错误: 需要class, interface或enum
                head[v]=edgecnt++;
                ^
0_0_34565797_2792\Main.java:48: 错误: 需要class, interface或enum
            }
            ^
0_0_34565797_2792\Main.java:51: 错误: 需要class, interface或enum
        int ans=0;
        ^
0_0_34565797_2792\Main.java:52: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
        ^
0_0_34565797_2792\Main.java:52: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                    ^
0_0_34565797_2792\Main.java:52: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                        ^
0_0_34565797_2792\Main.java:57: 错误: 需要class, interface或enum
                if(dfs(i))ans++;
                ^
0_0_34565797_2792\Main.java:58: 错误: 需要class, interface或enum
            }
            ^
0_0_34565797_2792\Main.java:61: 错误: 需要class, interface或enum
    }    
    ^
0_0_34565797_2792\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_34565797_2792\Main.java:65: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_34565797_2792\Main.java:66: 错误: 非法字符: '#'
#include<cstring>
^
0_0_34565797_2792\Main.java:67: 错误: 非法字符: '#'
#include<vector>
^
0_0_34565797_2792\Main.java:68: 错误: 非法字符: '#'
#include<queue>
^
0_0_34565797_2792\Main.java:70: 错误: 需要class, interface或enum
const int INF = 0x7F7F7F7F;
^
0_0_34565797_2792\Main.java:71: 错误: 需要class, interface或enum
struct EDGE
^
0_0_34565797_2792\Main.java:74: 错误: 需要class, interface或enum
    EDGE(){}
    ^
0_0_34565797_2792\Main.java:75: 错误: 需要class, interface或enum
    EDGE(int _v,int _next){v=_v,next=_next;}
                                           ^
0_0_34565797_2792\Main.java:77: 错误: 需要class, interface或enum
int N,edgecnt,head[1500],check[1500],matching[1500],pre[1500];
^
0_0_34565797_2792\Main.java:78: 错误: 需要class, interface或enum
bool bfs(int begin)
^
0_0_34565797_2792\Main.java:81: 错误: 需要class, interface或enum
    q.push(begin);
    ^
0_0_34565797_2792\Main.java:82: 错误: 需要class, interface或enum
    pre[begin]=-1;
    ^
0_0_34565797_2792\Main.java:83: 错误: 需要class, interface或enum
    while(!q.empty())
    ^
0_0_34565797_2792\Main.java:86: 错误: 需要class, interface或enum
        q.pop();
        ^
0_0_34565797_2792\Main.java:87: 错误: 需要class, interface或enum
        for(int e=head[u];e!=INF;e=edge[e].next)
        ^
0_0_34565797_2792\Main.java:87: 错误: 需要class, interface或enum
        for(int e=head[u];e!=INF;e=edge[e].next)
                          ^
0_0_34565797_2792\Main.java:87: 错误: 需要class, interface或enum
        for(int e=head[u];e!=INF;e=edge[e].next)
                                 ^
0_0_34565797_2792\Main.java:90: 错误: 需要class, interface或enum
            if(!check[v])
            ^
0_0_34565797_2792\Main.java:93: 错误: 需要class, interface或enum
                if(matching[v]==-1)
                ^
0_0_34565797_2792\Main.java:96: 错误: 需要class, interface或enum
                    while(uu!=-1)
                    ^
0_0_34565797_2792\Main.java:99: 错误: 需要class, interface或enum
                        matching[uu]=vv;
                        ^
0_0_34565797_2792\Main.java:100: 错误: 需要class, interface或enum
                        matching[vv]=uu;
                        ^
0_0_34565797_2792\Main.java:101: 错误: 需要class, interface或enum
                        vv=tmp;
                        ^
0_0_34565797_2792\Main.java:102: 错误: 需要class, interface或enum
                        uu=pre[uu];
                        ^
0_0_34565797_2792\Main.java:103: 错误: 需要class, interface或enum
                    }
                    ^
0_0_34565797_2792\Main.java:105: 错误: 需要class, interface或enum
                }
                ^
0_0_34565797_2792\Main.java:109: 错误: 需要class, interface或enum
                    q.push(matching[v]);
                    ^
0_0_34565797_2792\Main.java:110: 错误: 需要class, interface或enum
                }
                ^
0_0_34565797_2792\Main.java:115: 错误: 需要class, interface或enum
}
^
0_0_34565797_2792\Main.java:121: 错误: 需要class, interface或enum
        edgecnt=0;
        ^
0_0_34565797_2792\Main.java:122: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
        ^
0_0_34565797_2792\Main.java:122: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                    ^
0_0_34565797_2792\Main.java:122: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                        ^
0_0_34565797_2792\Main.java:125: 错误: 需要class, interface或enum
            scanf("%d:(%d)",&u,&nn);
            ^
0_0_34565797_2792\Main.java:126: 错误: 需要class, interface或enum
            while(nn--)
            ^
0_0_34565797_2792\Main.java:129: 错误: 需要class, interface或enum
                scanf("%d",&v);
                ^
0_0_34565797_2792\Main.java:130: 错误: 需要class, interface或enum
                edge[edgecnt]=EDGE(v,head[u]);
                ^
0_0_34565797_2792\Main.java:131: 错误: 需要class, interface或enum
                head[u]=edgecnt++;
                ^
0_0_34565797_2792\Main.java:132: 错误: 需要class, interface或enum
                edge[edgecnt]=EDGE(u,head[v]);
                ^
0_0_34565797_2792\Main.java:133: 错误: 需要class, interface或enum
                head[v]=edgecnt++;
                ^
0_0_34565797_2792\Main.java:134: 错误: 需要class, interface或enum
            }
            ^
0_0_34565797_2792\Main.java:137: 错误: 需要class, interface或enum
        int ans=0;
        ^
0_0_34565797_2792\Main.java:138: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
        ^
0_0_34565797_2792\Main.java:138: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                    ^
0_0_34565797_2792\Main.java:138: 错误: 需要class, interface或enum
        for(int i=0;i<N;i++)
                        ^
0_0_34565797_2792\Main.java:143: 错误: 需要class, interface或enum
                if(bfs(i))ans++;
                ^
0_0_34565797_2792\Main.java:144: 错误: 需要class, interface或enum
            }
            ^
0_0_34565797_2792\Main.java:147: 错误: 需要class, interface或enum
    }    
    ^
0_0_34565797_2792\Main.java:149: 错误: 需要class, interface或enum
}
^
86 个错误


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-05 03:37:14, Gzip enabled