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_14594494_12056\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_14594494_12056\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_14594494_12056\Main.java:3: 错误: 非法字符: '#'
#define stack ggggg
^
0_0_14594494_12056\Main.java:3: 错误: 需要class, interface或enum
#define stack ggggg
        ^
0_0_14594494_12056\Main.java:4: 错误: 非法字符: '#'
#define pb push_back
^
0_0_14594494_12056\Main.java:5: 错误: 非法字符: '#'
#define mp make_pair
^
0_0_14594494_12056\Main.java:7: 错误: 需要class, interface或enum
int dfn[maxn],low[maxn],stack[maxn],belong[maxn];
^
0_0_14594494_12056\Main.java:8: 错误: 需要class, interface或enum
int ti,dep;
^
0_0_14594494_12056\Main.java:9: 错误: 需要class, interface或enum
int ans[maxn][3],maxid[maxn],he[maxn],he2[maxn],num,num2;
^
0_0_14594494_12056\Main.java:10: 错误: 需要class, interface或enum
bool f[maxn],ok[maxn];
^
0_0_14594494_12056\Main.java:11: 错误: 需要class, interface或enum
struct node{
^
0_0_14594494_12056\Main.java:13: 错误: 需要class, interface或enum
}e[maxn*2],ee[maxn*2];
^
0_0_14594494_12056\Main.java:14: 错误: 需要class, interface或enum
void add(int x,int y,int z){
^
0_0_14594494_12056\Main.java:15: 错误: 需要class, interface或enum
    e[++num].next=he[x];e[num].p=y;e[num].z=z;he[x]=num;
                        ^
0_0_14594494_12056\Main.java:15: 错误: 需要class, interface或enum
    e[++num].next=he[x];e[num].p=y;e[num].z=z;he[x]=num;
                                   ^
0_0_14594494_12056\Main.java:15: 错误: 需要class, interface或enum
    e[++num].next=he[x];e[num].p=y;e[num].z=z;he[x]=num;
                                              ^
0_0_14594494_12056\Main.java:16: 错误: 需要class, interface或enum
    e[++num].next=he[y];e[num].p=x;e[num].z=z;he[y]=num;
    ^
0_0_14594494_12056\Main.java:16: 错误: 需要class, interface或enum
    e[++num].next=he[y];e[num].p=x;e[num].z=z;he[y]=num;
                        ^
0_0_14594494_12056\Main.java:16: 错误: 需要class, interface或enum
    e[++num].next=he[y];e[num].p=x;e[num].z=z;he[y]=num;
                                   ^
0_0_14594494_12056\Main.java:16: 错误: 需要class, interface或enum
    e[++num].next=he[y];e[num].p=x;e[num].z=z;he[y]=num;
                                              ^
0_0_14594494_12056\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_14594494_12056\Main.java:19: 错误: 需要class, interface或enum
    ee[++num2].next=he2[x];ee[num2].p=y;ee[num2].z=z;he2[x]=num2;
                           ^
0_0_14594494_12056\Main.java:19: 错误: 需要class, interface或enum
    ee[++num2].next=he2[x];ee[num2].p=y;ee[num2].z=z;he2[x]=num2;
                                        ^
0_0_14594494_12056\Main.java:19: 错误: 需要class, interface或enum
    ee[++num2].next=he2[x];ee[num2].p=y;ee[num2].z=z;he2[x]=num2;
                                                     ^
0_0_14594494_12056\Main.java:20: 错误: 需要class, interface或enum
    ee[++num2].next=he2[y];ee[num2].p=x;ee[num2].z=z;he2[y]=num2;
    ^
0_0_14594494_12056\Main.java:20: 错误: 需要class, interface或enum
    ee[++num2].next=he2[y];ee[num2].p=x;ee[num2].z=z;he2[y]=num2;
                           ^
0_0_14594494_12056\Main.java:20: 错误: 需要class, interface或enum
    ee[++num2].next=he2[y];ee[num2].p=x;ee[num2].z=z;he2[y]=num2;
                                        ^
0_0_14594494_12056\Main.java:20: 错误: 需要class, interface或enum
    ee[++num2].next=he2[y];ee[num2].p=x;ee[num2].z=z;he2[y]=num2;
                                                     ^
0_0_14594494_12056\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_14594494_12056\Main.java:23: 错误: 需要class, interface或enum
void clear(){
^
0_0_14594494_12056\Main.java:24: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++)ans[i]=0;
                ^
0_0_14594494_12056\Main.java:24: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++)ans[i]=0;
                     ^
0_0_14594494_12056\Main.java:25: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++)v[i]=0;
    ^
0_0_14594494_12056\Main.java:25: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++)v[i]=0;
                ^
0_0_14594494_12056\Main.java:25: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++)v[i]=0;
                     ^
0_0_14594494_12056\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_14594494_12056\Main.java:29: 错误: 需要class, interface或enum
    f[x]=true;
    ^
0_0_14594494_12056\Main.java:30: 错误: 需要class, interface或enum
    stack[++dep]=x;
    ^
0_0_14594494_12056\Main.java:31: 错误: 需要class, interface或enum
    for(int k=he[x];k;k=e[k].next){
    ^
0_0_14594494_12056\Main.java:31: 错误: 需要class, interface或enum
    for(int k=he[x];k;k=e[k].next){
                    ^
0_0_14594494_12056\Main.java:31: 错误: 需要class, interface或enum
    for(int k=he[x];k;k=e[k].next){
                      ^
0_0_14594494_12056\Main.java:33: 错误: 需要class, interface或enum
        if(y==fa)continue;
        ^
0_0_14594494_12056\Main.java:34: 错误: 需要class, interface或enum
        v[z]=1-v[z];
        ^
0_0_14594494_12056\Main.java:35: 错误: 需要class, interface或enum
        if(dfn[y]==0){
        ^
0_0_14594494_12056\Main.java:37: 错误: 需要class, interface或enum
            low[x]=min(low[x],low[y]);
            ^
0_0_14594494_12056\Main.java:38: 错误: 需要class, interface或enum
            if(low[y]>=dfn[x]){
            ^
0_0_14594494_12056\Main.java:39: 错误: 需要class, interface或enum
                for(int j=1;j<=nq;j++)if(v[i]){
                            ^
0_0_14594494_12056\Main.java:39: 错误: 需要class, interface或enum
                for(int j=1;j<=nq;j++)if(v[i]){
                                  ^
0_0_14594494_12056\Main.java:43: 错误: 需要class, interface或enum
    }
    ^
0_0_14594494_12056\Main.java:46: 错误: 需要class, interface或enum
        do{
        ^
0_0_14594494_12056\Main.java:48: 错误: 需要class, interface或enum
            dep--;
            ^
0_0_14594494_12056\Main.java:49: 错误: 需要class, interface或enum
            f[y]=false;
            ^
0_0_14594494_12056\Main.java:50: 错误: 需要class, interface或enum
            belong[y]=x;
            ^
0_0_14594494_12056\Main.java:51: 错误: 需要class, interface或enum
        }
        ^
0_0_14594494_12056\Main.java:53: 错误: 需要class, interface或enum
    }
    ^
0_0_14594494_12056\Main.java:58: 错误: 需要class, interface或enum
    clear();
    ^
0_0_14594494_12056\Main.java:59: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++){
    ^
0_0_14594494_12056\Main.java:59: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++){
                ^
0_0_14594494_12056\Main.java:59: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++){
                     ^
0_0_14594494_12056\Main.java:61: 错误: 需要class, interface或enum
        add(x,y,i);
        ^
0_0_14594494_12056\Main.java:62: 错误: 需要class, interface或enum
        ans[i]++;
        ^
0_0_14594494_12056\Main.java:63: 错误: 需要class, interface或enum
    }
    ^
0_0_14594494_12056\Main.java:71: 错误: 需要class, interface或enum
    scanf("%d",&T);
    ^
0_0_14594494_12056\Main.java:72: 错误: 需要class, interface或enum
    while(T--)task();
    ^
0_0_14594494_12056\Main.java:73: 错误: 需要class, interface或enum
}
^
65 个错误


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-29 16:07:13, Gzip enabled