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_13955590_25442\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_13955590_25442\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_13955590_25442\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_13955590_25442\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_13955590_25442\Main.java:4: 错误: 非法字符: '#'
#define MAXN 100010
^
0_0_13955590_25442\Main.java:5: 错误: 非法字符: '#'
#define MAXM 100010
^
0_0_13955590_25442\Main.java:6: 错误: 非法字符: '#'
#pragma comment(linker, "/STACK:102400000,102400000")
^
0_0_13955590_25442\Main.java:8: 错误: 需要class, interface或enum
int dfn[MAXN], low[MAXN], h[MAXN], ind;
^
0_0_13955590_25442\Main.java:9: 错误: 需要class, interface或enum
bool vis[MAXN];
^
0_0_13955590_25442\Main.java:10: 错误: 需要class, interface或enum
int N, M, first[MAXN], e, next[MAXM], v[MAXM], col[MAXN];
^
0_0_13955590_25442\Main.java:11: 错误: 需要class, interface或enum
struct Edge
^
0_0_13955590_25442\Main.java:14: 错误: 需要class, interface或enum
}edge[MAXM];
^
0_0_13955590_25442\Main.java:15: 错误: 需要class, interface或enum
void dfs(int u, int p, int o)
^
0_0_13955590_25442\Main.java:18: 错误: 需要class, interface或enum
    int cnt = 0;
    ^
0_0_13955590_25442\Main.java:19: 错误: 需要class, interface或enum
    for(int i = first[u]; i != -1; i = next[i])
    ^
0_0_13955590_25442\Main.java:19: 错误: 需要class, interface或enum
    for(int i = first[u]; i != -1; i = next[i])
                          ^
0_0_13955590_25442\Main.java:19: 错误: 需要class, interface或enum
    for(int i = first[u]; i != -1; i = next[i])
                                   ^
0_0_13955590_25442\Main.java:22: 错误: 需要class, interface或enum
        if(!dfn[v[i]])
        ^
0_0_13955590_25442\Main.java:25: 错误: 需要class, interface或enum
            dfs(v[i], u, o);
            ^
0_0_13955590_25442\Main.java:26: 错误: 需要class, interface或enum
            low[u] = std::min(low[u], low[v[i]]);
            ^
0_0_13955590_25442\Main.java:27: 错误: 需要class, interface或enum
            if(u == o && cnt > 1) h[u] = 1;
            ^
0_0_13955590_25442\Main.java:28: 错误: 需要class, interface或enum
            else if(u != o && low[v[i]] >= dfn[u]) h[u] = 1;
            ^
0_0_13955590_25442\Main.java:29: 错误: 需要class, interface或enum
        }
        ^
0_0_13955590_25442\Main.java:31: 错误: 需要class, interface或enum
    }
    ^
0_0_13955590_25442\Main.java:35: 错误: 需要class, interface或enum
    for(int i = 1; i <= N; i ++)
                   ^
0_0_13955590_25442\Main.java:35: 错误: 需要class, interface或enum
    for(int i = 1; i <= N; i ++)
                           ^
0_0_13955590_25442\Main.java:37: 错误: 需要class, interface或enum
    ind = 0;
    ^
0_0_13955590_25442\Main.java:38: 错误: 需要class, interface或enum
    dfs(i, -1, i);
    ^
0_0_13955590_25442\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_13955590_25442\Main.java:43: 错误: 需要class, interface或enum
    next[e] = first[x], first[x] = e ++;
    ^
0_0_13955590_25442\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_13955590_25442\Main.java:48: 错误: 需要class, interface或enum
    for(int i = 0; i < M; i ++)
    ^
0_0_13955590_25442\Main.java:48: 错误: 需要class, interface或enum
    for(int i = 0; i < M; i ++)
                   ^
0_0_13955590_25442\Main.java:48: 错误: 需要class, interface或enum
    for(int i = 0; i < M; i ++)
                          ^
0_0_13955590_25442\Main.java:51: 错误: 需要class, interface或enum
        N = std::max(edge[i].x, N);
        ^
0_0_13955590_25442\Main.java:52: 错误: 需要class, interface或enum
        N = std::max(edge[i].y, N);
        ^
0_0_13955590_25442\Main.java:53: 错误: 需要class, interface或enum
    }
    ^
0_0_13955590_25442\Main.java:55: 错误: 需要class, interface或enum
    for(int i = 0; i < M; i ++)
    ^
0_0_13955590_25442\Main.java:55: 错误: 需要class, interface或enum
    for(int i = 0; i < M; i ++)
                   ^
0_0_13955590_25442\Main.java:55: 错误: 需要class, interface或enum
    for(int i = 0; i < M; i ++)
                          ^
0_0_13955590_25442\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_13955590_25442\Main.java:61: 错误: 需要class, interface或enum
    for(int i = first[x]; i != -1; i = next[i])
    ^
0_0_13955590_25442\Main.java:61: 错误: 需要class, interface或enum
    for(int i = first[x]; i != -1; i = next[i])
                          ^
0_0_13955590_25442\Main.java:61: 错误: 需要class, interface或enum
    for(int i = first[x]; i != -1; i = next[i])
                                   ^
0_0_13955590_25442\Main.java:64: 错误: 需要class, interface或enum
        if(vis[y]) continue;
        ^
0_0_13955590_25442\Main.java:65: 错误: 需要class, interface或enum
        if(h[y])
        ^
0_0_13955590_25442\Main.java:68: 错误: 需要class, interface或enum
            continue;
            ^
0_0_13955590_25442\Main.java:69: 错误: 需要class, interface或enum
        }
        ^
0_0_13955590_25442\Main.java:71: 错误: 需要class, interface或enum
    }
    ^
0_0_13955590_25442\Main.java:76: 错误: 需要class, interface或enum
    memset(vis, 0, sizeof(vis[0]) * (N + 1));
    ^
0_0_13955590_25442\Main.java:77: 错误: 需要class, interface或enum
    memset(col, 0, sizeof(col[0]) * (N + 1));
    ^
0_0_13955590_25442\Main.java:78: 错误: 需要class, interface或enum
    LL ans = 1;
    ^
0_0_13955590_25442\Main.java:79: 错误: 需要class, interface或enum
    int cnt = 0;
    ^
0_0_13955590_25442\Main.java:80: 错误: 需要class, interface或enum
    for(int i = 1; i <= N; i ++)
    ^
0_0_13955590_25442\Main.java:80: 错误: 需要class, interface或enum
    for(int i = 1; i <= N; i ++)
                   ^
0_0_13955590_25442\Main.java:80: 错误: 需要class, interface或enum
    for(int i = 1; i <= N; i ++)
                           ^
0_0_13955590_25442\Main.java:84: 错误: 需要class, interface或enum
            find(i, i, pn, cn);
            ^
0_0_13955590_25442\Main.java:85: 错误: 需要class, interface或enum
            if(cn == 0) ans *= (LL)pn * (pn - 1) / 2, cnt += 2;
            ^
0_0_13955590_25442\Main.java:86: 错误: 需要class, interface或enum
            else if(cn == 1) ans *= pn, ++ cnt;
            ^
0_0_13955590_25442\Main.java:87: 错误: 需要class, interface或enum
        }
        ^
0_0_13955590_25442\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_13955590_25442\Main.java:93: 错误: 需要class, interface或enum
    while(scanf("%d", &M), M > 0)
    ^
0_0_13955590_25442\Main.java:96: 错误: 需要class, interface或enum
        printf("Case %d: ", ++ t);
        ^
0_0_13955590_25442\Main.java:97: 错误: 需要class, interface或enum
        process();
        ^
0_0_13955590_25442\Main.java:98: 错误: 需要class, interface或enum
    }
    ^
0_0_13955590_25442\Main.java:100: 错误: 需要class, interface或enum
}
^
66 个错误


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-03 17:20:19, Gzip enabled