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_29474191_5947\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_29474191_5947\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_29474191_5947\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_29474191_5947\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_29474191_5947\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_29474191_5947\Main.java:5: 错误: 非法字符: '#'
#include <cstdlib>
^
0_0_29474191_5947\Main.java:8: 错误: 需要class, interface或enum
const int MAXN=1001;
^
0_0_29474191_5947\Main.java:9: 错误: 需要class, interface或enum
const int MAXM=1001*1001*2;
^
0_0_29474191_5947\Main.java:10: 错误: 需要class, interface或enum
const int INF=1<<30;
^
0_0_29474191_5947\Main.java:12: 错误: 需要class, interface或enum
struct Edge{
^
0_0_29474191_5947\Main.java:14: 错误: 需要class, interface或enum
    int cnt;
    ^
0_0_29474191_5947\Main.java:15: 错误: 需要class, interface或enum
    bool meg;  //标记是否是重边
    ^
0_0_29474191_5947\Main.java:16: 错误: 需要class, interface或enum
}edges[MAXM];
^
0_0_29474191_5947\Main.java:18: 错误: 需要class, interface或enum
int head[MAXN],tot;
^
0_0_29474191_5947\Main.java:19: 错误: 需要class, interface或enum
void addEdge(int u,int v,int w,bool meg){
^
0_0_29474191_5947\Main.java:21: 错误: 需要class, interface或enum
    edges[tot].next=head[u];
    ^
0_0_29474191_5947\Main.java:22: 错误: 需要class, interface或enum
    edges[tot].meg=meg;
    ^
0_0_29474191_5947\Main.java:23: 错误: 需要class, interface或enum
    edges[tot].cnt=w;
    ^
0_0_29474191_5947\Main.java:24: 错误: 需要class, interface或enum
    head[u]=tot++;
    ^
0_0_29474191_5947\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_29474191_5947\Main.java:29: 错误: 需要class, interface或enum
    tot=0;
    ^
0_0_29474191_5947\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_29474191_5947\Main.java:32: 错误: 需要class, interface或enum
int Index,bridge;
^
0_0_29474191_5947\Main.java:34: 错误: 需要class, interface或enum
void Tarjan(int u,int pre,bool meg){
^
0_0_29474191_5947\Main.java:36: 错误: 需要class, interface或enum
    int v;
    ^
0_0_29474191_5947\Main.java:38: 错误: 需要class, interface或enum
    for(int i=head[u];i!=-1;i=edges[i].next){
    ^
0_0_29474191_5947\Main.java:38: 错误: 需要class, interface或enum
    for(int i=head[u];i!=-1;i=edges[i].next){
                      ^
0_0_29474191_5947\Main.java:38: 错误: 需要class, interface或enum
    for(int i=head[u];i!=-1;i=edges[i].next){
                            ^
0_0_29474191_5947\Main.java:41: 错误: 需要class, interface或enum
        if(v==pre&&(!meg)) continue;
        ^
0_0_29474191_5947\Main.java:43: 错误: 需要class, interface或enum
        if(!DFN[v]){
        ^
0_0_29474191_5947\Main.java:46: 错误: 需要class, interface或enum
            if(LOW[u]>LOW[v])
            ^
0_0_29474191_5947\Main.java:49: 错误: 需要class, interface或enum
            if(LOW[v]>DFN[u]){
            ^
0_0_29474191_5947\Main.java:51: 错误: 需要class, interface或enum
            }
            ^
0_0_29474191_5947\Main.java:54: 错误: 需要class, interface或enum
    }
    ^
0_0_29474191_5947\Main.java:59: 错误: 需要class, interface或enum
    bridge=Index=0;
    ^
0_0_29474191_5947\Main.java:61: 错误: 需要class, interface或enum
    Tarjan(1,1,false);
    ^
0_0_29474191_5947\Main.java:63: 错误: 需要class, interface或enum
    if(bridge==0){
    ^
0_0_29474191_5947\Main.java:65: 错误: 需要class, interface或enum
        return;
        ^
0_0_29474191_5947\Main.java:66: 错误: 需要class, interface或enum
    }
    ^
0_0_29474191_5947\Main.java:69: 错误: 需要class, interface或enum
    for(int i=1;i<=N;i++)
                ^
0_0_29474191_5947\Main.java:69: 错误: 需要class, interface或enum
    for(int i=1;i<=N;i++)
                     ^
0_0_29474191_5947\Main.java:72: 错误: 需要class, interface或enum
        return;
        ^
0_0_29474191_5947\Main.java:73: 错误: 需要class, interface或enum
    }
    ^
0_0_29474191_5947\Main.java:77: 错误: 需要class, interface或enum
    for(int i=1;i<=bridge;i++)
    ^
0_0_29474191_5947\Main.java:77: 错误: 需要class, interface或enum
    for(int i=1;i<=bridge;i++)
                ^
0_0_29474191_5947\Main.java:77: 错误: 需要class, interface或enum
    for(int i=1;i<=bridge;i++)
                          ^
0_0_29474191_5947\Main.java:80: 错误: 需要class, interface或enum
    if(ans==0)
    ^
0_0_29474191_5947\Main.java:82: 错误: 需要class, interface或enum
    else printf("%d\n",ans);
    ^
0_0_29474191_5947\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_29474191_5947\Main.java:87: 错误: 需要class, interface或enum
    int w;
    ^
0_0_29474191_5947\Main.java:88: 错误: 需要class, interface或enum
    bool operator <(const NN &rhs)const{
    ^
0_0_29474191_5947\Main.java:91: 错误: 需要class, interface或enum
        else if(v!=rhs.v)
        ^
0_0_29474191_5947\Main.java:93: 错误: 需要class, interface或enum
        else
        ^
0_0_29474191_5947\Main.java:95: 错误: 需要class, interface或enum
    }
    ^
0_0_29474191_5947\Main.java:98: 错误: 需要class, interface或enum
int main(){
^
0_0_29474191_5947\Main.java:100: 错误: 需要class, interface或enum
    while(scanf("%d%d",&N,&M)!=EOF){
    ^
0_0_29474191_5947\Main.java:103: 错误: 需要class, interface或enum
        init();
        ^
0_0_29474191_5947\Main.java:104: 错误: 需要class, interface或enum
        for(int i=0;i<M;i++){
        ^
0_0_29474191_5947\Main.java:104: 错误: 需要class, interface或enum
        for(int i=0;i<M;i++){
                    ^
0_0_29474191_5947\Main.java:104: 错误: 需要class, interface或enum
        for(int i=0;i<M;i++){
                        ^
0_0_29474191_5947\Main.java:106: 错误: 需要class, interface或enum
            scanf("%d%d%d",&u,&v,&w);
            ^
0_0_29474191_5947\Main.java:107: 错误: 需要class, interface或enum
            if(u==v) continue;
            ^
0_0_29474191_5947\Main.java:108: 错误: 需要class, interface或enum
            if(u<v) swap(u,v);
            ^
0_0_29474191_5947\Main.java:110: 错误: 需要class, interface或enum
            node[i].v=v;
            ^
0_0_29474191_5947\Main.java:111: 错误: 需要class, interface或enum
            node[i].u=u;
            ^
0_0_29474191_5947\Main.java:112: 错误: 需要class, interface或enum
            node[i].w=w;
            ^
0_0_29474191_5947\Main.java:113: 错误: 需要class, interface或enum
        }
        ^
0_0_29474191_5947\Main.java:117: 错误: 需要class, interface或enum
        for(int i=0;i<M;i++){
        ^
0_0_29474191_5947\Main.java:117: 错误: 需要class, interface或enum
        for(int i=0;i<M;i++){
                    ^
0_0_29474191_5947\Main.java:117: 错误: 需要class, interface或enum
        for(int i=0;i<M;i++){
                        ^
0_0_29474191_5947\Main.java:121: 错误: 需要class, interface或enum
                    addEdge(node[i].v,node[i].u,node[i].w,true);
                    ^
0_0_29474191_5947\Main.java:122: 错误: 需要class, interface或enum
                }else{
                ^
0_0_29474191_5947\Main.java:124: 错误: 需要class, interface或enum
                    addEdge(node[i].v,node[i].u,node[i].w,false);
                    ^
0_0_29474191_5947\Main.java:125: 错误: 需要class, interface或enum
                }
                ^
0_0_29474191_5947\Main.java:132: 错误: 需要class, interface或enum
    }
    ^
75 个错误


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-27 00:58:21, Gzip enabled