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_38988355_15537\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_38988355_15537\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_38988355_15537\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_38988355_15537\Main.java:3: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_38988355_15537\Main.java:5: 错误: 需要class, interface或enum
int p[100005];
^
0_0_38988355_15537\Main.java:6: 错误: 需要class, interface或enum
int rank[100005];
^
0_0_38988355_15537\Main.java:7: 错误: 需要class, interface或enum
int vis[100005];
^
0_0_38988355_15537\Main.java:8: 错误: 需要class, interface或enum
int mark[100005];
^
0_0_38988355_15537\Main.java:9: 错误: 需要class, interface或enum
int degree[100005];
^
0_0_38988355_15537\Main.java:10: 错误: 需要class, interface或enum
void make_set(int i)
^
0_0_38988355_15537\Main.java:13: 错误: 需要class, interface或enum
    rank[i]=0;
    ^
0_0_38988355_15537\Main.java:14: 错误: 需要class, interface或enum
}
^
0_0_38988355_15537\Main.java:19: 错误: 需要class, interface或enum
    return p[i];
    ^
0_0_38988355_15537\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_38988355_15537\Main.java:24: 错误: 需要class, interface或enum
    y=find_set(y);
    ^
0_0_38988355_15537\Main.java:25: 错误: 需要class, interface或enum
    if(x==y)
    ^
0_0_38988355_15537\Main.java:27: 错误: 需要class, interface或enum
    if(rank[x]<rank[y])
    ^
0_0_38988355_15537\Main.java:29: 错误: 需要class, interface或enum
    else
    ^
0_0_38988355_15537\Main.java:32: 错误: 需要class, interface或enum
        if(rank[x]==rank[y])
        ^
0_0_38988355_15537\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_38988355_15537\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_38988355_15537\Main.java:40: 错误: 需要class, interface或enum
    while(scanf("%d%d",&n,&m)!=EOF)
    ^
0_0_38988355_15537\Main.java:43: 错误: 需要class, interface或enum
        memset(degree,0,sizeof(degree));
        ^
0_0_38988355_15537\Main.java:44: 错误: 需要class, interface或enum
        memset(rank,0,sizeof(rank));
        ^
0_0_38988355_15537\Main.java:45: 错误: 需要class, interface或enum
        memset(vis,0,sizeof(vis));
        ^
0_0_38988355_15537\Main.java:46: 错误: 需要class, interface或enum
        memset(mark,0,sizeof(mark));
        ^
0_0_38988355_15537\Main.java:47: 错误: 需要class, interface或enum
        memset(p,0,sizeof(p));
        ^
0_0_38988355_15537\Main.java:48: 错误: 需要class, interface或enum
        for(i=0;i<m;i++)
        ^
0_0_38988355_15537\Main.java:48: 错误: 需要class, interface或enum
        for(i=0;i<m;i++)
                ^
0_0_38988355_15537\Main.java:48: 错误: 需要class, interface或enum
        for(i=0;i<m;i++)
                    ^
0_0_38988355_15537\Main.java:51: 错误: 需要class, interface或enum
            scanf("%d%d",&a,&b);
            ^
0_0_38988355_15537\Main.java:52: 错误: 需要class, interface或enum
            if(!vis[a])
            ^
0_0_38988355_15537\Main.java:55: 错误: 需要class, interface或enum
                make_set(a);
                ^
0_0_38988355_15537\Main.java:56: 错误: 需要class, interface或enum
            }
            ^
0_0_38988355_15537\Main.java:60: 错误: 需要class, interface或enum
                make_set(b);
                ^
0_0_38988355_15537\Main.java:61: 错误: 需要class, interface或enum
            }
            ^
0_0_38988355_15537\Main.java:63: 错误: 需要class, interface或enum
            degree[b]++;
            ^
0_0_38988355_15537\Main.java:64: 错误: 需要class, interface或enum
            Union(a,b);
            ^
0_0_38988355_15537\Main.java:65: 错误: 需要class, interface或enum
        }
        ^
0_0_38988355_15537\Main.java:67: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
        ^
0_0_38988355_15537\Main.java:67: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                ^
0_0_38988355_15537\Main.java:67: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                     ^
0_0_38988355_15537\Main.java:69: 错误: 非法字符: '\u00b0'
            if(vis[i]&°ree[i]%2==1)
                      ^
0_0_38988355_15537\Main.java:73: 错误: 需要class, interface或enum
                res++;
                ^
0_0_38988355_15537\Main.java:74: 错误: 需要class, interface或enum
            }
            ^
0_0_38988355_15537\Main.java:77: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
        ^
0_0_38988355_15537\Main.java:77: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                ^
0_0_38988355_15537\Main.java:77: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                     ^
0_0_38988355_15537\Main.java:81: 错误: 需要class, interface或enum
        }
        ^
0_0_38988355_15537\Main.java:83: 错误: 需要class, interface或enum
    }
    ^
0_0_38988355_15537\Main.java:85: 错误: 需要class, interface或enum
}
^
51 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 11:50:18, Gzip enabled