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_29526015_2502\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_29526015_2502\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_29526015_2502\Main.java:3: 错误: 需要class, interface或enum
const int maxn = 50005;
^
0_0_29526015_2502\Main.java:4: 错误: 需要class, interface或enum
const int inf = 0x3f3f3f3f;
^
0_0_29526015_2502\Main.java:5: 错误: 需要class, interface或enum
using ll = long long;
^
0_0_29526015_2502\Main.java:6: 错误: 需要class, interface或enum
using pii = pair<int, int>;
^
0_0_29526015_2502\Main.java:7: 错误: 需要class, interface或enum
vector<int> vec[maxn];
^
0_0_29526015_2502\Main.java:8: 错误: 需要class, interface或enum
vector<int> cost[maxn];
^
0_0_29526015_2502\Main.java:9: 错误: 需要class, interface或enum
int low[maxn], dfn[maxn], clk, B, bl[maxn], min_cost[maxn];
^
0_0_29526015_2502\Main.java:10: 错误: 需要class, interface或enum
vector<int> bcc[maxn];
^
0_0_29526015_2502\Main.java:12: 错误: 需要class, interface或enum
int in_degree[maxn];
^
0_0_29526015_2502\Main.java:13: 错误: 需要class, interface或enum
int in_val[maxn];
^
0_0_29526015_2502\Main.java:15: 错误: 需要class, interface或enum
static int st[maxn], p;
       ^
0_0_29526015_2502\Main.java:16: 错误: 需要class, interface或enum
static bool in[maxn];
       ^
0_0_29526015_2502\Main.java:18: 错误: 需要class, interface或enum
void init()
^
0_0_29526015_2502\Main.java:20: 错误: 需要class, interface或enum
    for (int i = 0; i < maxn; i++)
                    ^
0_0_29526015_2502\Main.java:20: 错误: 需要class, interface或enum
    for (int i = 0; i < maxn; i++)
                              ^
0_0_29526015_2502\Main.java:23: 错误: 需要class, interface或enum
        bcc[i].clear();
        ^
0_0_29526015_2502\Main.java:24: 错误: 需要class, interface或enum
        cost[i].clear();
        ^
0_0_29526015_2502\Main.java:25: 错误: 需要class, interface或enum
    }
    ^
0_0_29526015_2502\Main.java:27: 错误: 需要class, interface或enum
    memset(dfn, 0, sizeof(dfn));
    ^
0_0_29526015_2502\Main.java:28: 错误: 需要class, interface或enum
    memset(st, 0, sizeof(st));
    ^
0_0_29526015_2502\Main.java:29: 错误: 需要class, interface或enum
    memset(in, 0, sizeof(in));
    ^
0_0_29526015_2502\Main.java:30: 错误: 需要class, interface或enum
    memset(min_cost, inf, sizeof(min_cost));
    ^
0_0_29526015_2502\Main.java:31: 错误: 需要class, interface或enum
    memset(in_val,inf,sizeof(in_val));
    ^
0_0_29526015_2502\Main.java:33: 错误: 需要class, interface或enum
    memset(in_degree, 0, sizeof(in_degree));
    ^
0_0_29526015_2502\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_29526015_2502\Main.java:39: 错误: 需要class, interface或enum
    st[p++] = u;
    ^
0_0_29526015_2502\Main.java:40: 错误: 需要class, interface或enum
    in[u] = 1;
    ^
0_0_29526015_2502\Main.java:41: 错误: 需要class, interface或enum
    for (int &v : vec[u])
    ^
0_0_29526015_2502\Main.java:46: 错误: 需要class, interface或enum
            low[u] = min(low[v], low[u]);
            ^
0_0_29526015_2502\Main.java:47: 错误: 需要class, interface或enum
        }
        ^
0_0_29526015_2502\Main.java:51: 错误: 需要class, interface或enum
        }
        ^
0_0_29526015_2502\Main.java:58: 错误: 需要class, interface或enum
            in[x] = 0;
            ^
0_0_29526015_2502\Main.java:59: 错误: 需要class, interface或enum
            bl[x] = B;
            ^
0_0_29526015_2502\Main.java:60: 错误: 需要class, interface或enum
            bcc[B].push_back(x);
            ^
0_0_29526015_2502\Main.java:62: 错误: 需要class, interface或enum
            if (x == u)
            ^
0_0_29526015_2502\Main.java:64: 错误: 需要class, interface或enum
        }
        ^
0_0_29526015_2502\Main.java:66: 错误: 需要class, interface或enum
    }
    ^
0_0_29526015_2502\Main.java:72: 错误: 需要class, interface或enum
    while (scanf("%d%d", &n, &m) != EOF)
    ^
0_0_29526015_2502\Main.java:75: 错误: 需要class, interface或enum
        in_val[1] = 0;
        ^
0_0_29526015_2502\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 0; i < m; i++)
        ^
0_0_29526015_2502\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 0; i < m; i++)
                        ^
0_0_29526015_2502\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 0; i < m; i++)
                               ^
0_0_29526015_2502\Main.java:79: 错误: 需要class, interface或enum
            scanf("%d%d%d", &x, &y, &w);
            ^
0_0_29526015_2502\Main.java:80: 错误: 需要class, interface或enum
            x++;
            ^
0_0_29526015_2502\Main.java:81: 错误: 需要class, interface或enum
            y++;
            ^
0_0_29526015_2502\Main.java:83: 错误: 需要class, interface或enum
            vec[x].push_back(y);
            ^
0_0_29526015_2502\Main.java:84: 错误: 需要class, interface或enum
            cost[x].push_back(w);
            ^
0_0_29526015_2502\Main.java:85: 错误: 需要class, interface或enum
        }
        ^
0_0_29526015_2502\Main.java:87: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++)
        ^
0_0_29526015_2502\Main.java:87: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++)
                        ^
0_0_29526015_2502\Main.java:87: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++)
                               ^
0_0_29526015_2502\Main.java:89: 错误: 需要class, interface或enum
            for (int j=0;j<vec[i].size();i++)
                         ^
0_0_29526015_2502\Main.java:89: 错误: 需要class, interface或enum
            for (int j=0;j<vec[i].size();i++)
                                         ^
0_0_29526015_2502\Main.java:93: 错误: 需要class, interface或enum
                if(bl[i]!=bl[v])
                ^
0_0_29526015_2502\Main.java:95: 错误: 需要class, interface或enum
            }
            ^
0_0_29526015_2502\Main.java:98: 错误: 需要class, interface或enum
        for (int i = 0; i < B;i++){
        ^
0_0_29526015_2502\Main.java:98: 错误: 需要class, interface或enum
        for (int i = 0; i < B;i++){
                        ^
0_0_29526015_2502\Main.java:98: 错误: 需要class, interface或enum
        for (int i = 0; i < B;i++){
                              ^
0_0_29526015_2502\Main.java:101: 错误: 需要class, interface或enum
        }
        ^
0_0_29526015_2502\Main.java:103: 错误: 需要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-11-26 05:35:12, Gzip enabled