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_17867813_31920\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_17867813_31920\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_17867813_31920\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_17867813_31920\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_17867813_31920\Main.java:4: 错误: 非法字符: '#'
#define sz 3010
^
0_0_17867813_31920\Main.java:6: 错误: 需要class, interface或enum
int cnt=0,p=0,tt=0,sig;
^
0_0_17867813_31920\Main.java:7: 错误: 需要class, interface或enum
struct edge
^
0_0_17867813_31920\Main.java:10: 错误: 需要class, interface或enum
}store[10010];
^
0_0_17867813_31920\Main.java:11: 错误: 需要class, interface或enum
int head[sz],low[sz],dfn[sz],stack[sz],color[sz];
^
0_0_17867813_31920\Main.java:12: 错误: 需要class, interface或enum
int vis[sz];
^
0_0_17867813_31920\Main.java:13: 错误: 需要class, interface或enum
int leader[sz];
^
0_0_17867813_31920\Main.java:14: 错误: 需要class, interface或enum
int team[sz];
^
0_0_17867813_31920\Main.java:16: 错误: 需要class, interface或enum
void addedge(int fm,int to)
^
0_0_17867813_31920\Main.java:19: 错误: 需要class, interface或enum
    head[fm]=cnt;
    ^
0_0_17867813_31920\Main.java:20: 错误: 需要class, interface或enum
    store[cnt].fm=fm;
    ^
0_0_17867813_31920\Main.java:21: 错误: 需要class, interface或enum
    store[cnt++].to=to;
    ^
0_0_17867813_31920\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_17867813_31920\Main.java:27: 错误: 需要class, interface或enum
    vis[x]=1;
    ^
0_0_17867813_31920\Main.java:28: 错误: 需要class, interface或enum
    dfn[x]=low[x]=p++;
    ^
0_0_17867813_31920\Main.java:29: 错误: 需要class, interface或enum
    stack[++tt]=x;
    ^
0_0_17867813_31920\Main.java:30: 错误: 需要class, interface或enum
    for(int i=head[x];~i;i=store[i].nxt)
    ^
0_0_17867813_31920\Main.java:30: 错误: 需要class, interface或enum
    for(int i=head[x];~i;i=store[i].nxt)
                      ^
0_0_17867813_31920\Main.java:30: 错误: 需要class, interface或enum
    for(int i=head[x];~i;i=store[i].nxt)
                         ^
0_0_17867813_31920\Main.java:33: 错误: 需要class, interface或enum
       if(vis[v]==0)
       ^
0_0_17867813_31920\Main.java:35: 错误: 需要class, interface或enum
       if(vis[v]==1)
       ^
0_0_17867813_31920\Main.java:37: 错误: 需要class, interface或enum
    }
    ^
0_0_17867813_31920\Main.java:41: 错误: 需要class, interface或enum
        do
        ^
0_0_17867813_31920\Main.java:44: 错误: 需要class, interface或enum
            color[stack[tt]]=sig;
            ^
0_0_17867813_31920\Main.java:45: 错误: 需要class, interface或enum
            vis[stack[tt]]=-1;
            ^
0_0_17867813_31920\Main.java:46: 错误: 需要class, interface或enum
        }
        ^
0_0_17867813_31920\Main.java:48: 错误: 需要class, interface或enum
    }
    ^
0_0_17867813_31920\Main.java:53: 错误: 需要class, interface或enum
    bool flag;
    ^
0_0_17867813_31920\Main.java:54: 错误: 需要class, interface或enum
    while(~scanf("%d%d",&n,&m))
    ^
0_0_17867813_31920\Main.java:57: 错误: 需要class, interface或enum
        memset(vis,0,sizeof(vis));
        ^
0_0_17867813_31920\Main.java:58: 错误: 需要class, interface或enum
        memset(head,-1,sizeof(head));
        ^
0_0_17867813_31920\Main.java:59: 错误: 需要class, interface或enum
        cnt=sig=p=tt=0;
        ^
0_0_17867813_31920\Main.java:60: 错误: 需要class, interface或enum
    	flag=1;
    	^
0_0_17867813_31920\Main.java:61: 错误: 需要class, interface或enum
        cntt=0;
        ^
0_0_17867813_31920\Main.java:62: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
        ^
0_0_17867813_31920\Main.java:62: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
                    ^
0_0_17867813_31920\Main.java:62: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
                        ^
0_0_17867813_31920\Main.java:65: 错误: 需要class, interface或enum
          team[a]=b;
          ^
0_0_17867813_31920\Main.java:66: 错误: 需要class, interface或enum
		  team[b]=team[c]=a;
		  ^
0_0_17867813_31920\Main.java:67: 错误: 需要class, interface或enum
          addedge(c,b);
          ^
0_0_17867813_31920\Main.java:68: 错误: 需要class, interface或enum
          addedge(b,c);
          ^
0_0_17867813_31920\Main.java:69: 错误: 需要class, interface或enum
        }
        ^
0_0_17867813_31920\Main.java:70: 错误: 需要class, interface或enum
        for(int i=0;i<m;i++)
                    ^
0_0_17867813_31920\Main.java:70: 错误: 需要class, interface或enum
        for(int i=0;i<m;i++)
                        ^
0_0_17867813_31920\Main.java:73: 错误: 需要class, interface或enum
            addedge(a,team[b]);
            ^
0_0_17867813_31920\Main.java:74: 错误: 需要class, interface或enum
            addedge(b,team[a]);
            ^
0_0_17867813_31920\Main.java:75: 错误: 需要class, interface或enum
        }
        ^
0_0_17867813_31920\Main.java:77: 错误: 需要class, interface或enum
        for(int i=0;i<am;i++)
        ^
0_0_17867813_31920\Main.java:77: 错误: 需要class, interface或enum
        for(int i=0;i<am;i++)
                    ^
0_0_17867813_31920\Main.java:77: 错误: 需要class, interface或enum
        for(int i=0;i<am;i++)
                         ^
0_0_17867813_31920\Main.java:80: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
        ^
0_0_17867813_31920\Main.java:80: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
                    ^
0_0_17867813_31920\Main.java:80: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
                        ^
0_0_17867813_31920\Main.java:85: 错误: 需要class, interface或enum
                break;
                ^
0_0_17867813_31920\Main.java:86: 错误: 需要class, interface或enum
            }
            ^
0_0_17867813_31920\Main.java:90: 错误: 需要class, interface或enum
        else
        ^
0_0_17867813_31920\Main.java:92: 错误: 需要class, interface或enum
    }
    ^
0_0_17867813_31920\Main.java:94: 错误: 需要class, interface或enum
}
^
62 个错误


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-04 21:41:45, Gzip enabled