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_30507012_3366\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_30507012_3366\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_30507012_3366\Main.java:6: 错误: 非法字符: '#'
#define ios ios::sync_with_stdio(false)
^
0_0_30507012_3366\Main.java:7: 错误: 非法字符: '#'
#define lowbit(i) ((i)&(-i))
^
0_0_30507012_3366\Main.java:8: 错误: 非法字符: '#'
#define met(a, b) memset(a, b, sizeof(a))
^
0_0_30507012_3366\Main.java:9: 错误: 非法字符: '#'
#define ll long long
^
0_0_30507012_3366\Main.java:13: 错误: 需要class, interface或enum
const int inf = 0x3f3f3f3f;
^
0_0_30507012_3366\Main.java:14: 错误: 需要class, interface或enum
const ll INF = 0x3f3f3f3f3f3f3f;
^
0_0_30507012_3366\Main.java:16: 错误: 需要class, interface或enum
int rd() {
^
0_0_30507012_3366\Main.java:18: 错误: 需要class, interface或enum
    char ch = getchar();
    ^
0_0_30507012_3366\Main.java:19: 错误: 需要class, interface或enum
    while(ch < '0' || ch > '9') {
    ^
0_0_30507012_3366\Main.java:21: 错误: 需要class, interface或enum
        ch = getchar();
        ^
0_0_30507012_3366\Main.java:22: 错误: 需要class, interface或enum
    }
    ^
0_0_30507012_3366\Main.java:25: 错误: 需要class, interface或enum
        ch = getchar();
        ^
0_0_30507012_3366\Main.java:26: 错误: 需要class, interface或enum
    }
    ^
0_0_30507012_3366\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_30507012_3366\Main.java:31: 错误: 需要class, interface或enum
    char ch = getchar();
    ^
0_0_30507012_3366\Main.java:32: 错误: 需要class, interface或enum
    while(ch < '0' || ch > '9') {
    ^
0_0_30507012_3366\Main.java:34: 错误: 需要class, interface或enum
        ch = getchar();
        ^
0_0_30507012_3366\Main.java:35: 错误: 需要class, interface或enum
    }
    ^
0_0_30507012_3366\Main.java:38: 错误: 需要class, interface或enum
        ch = getchar();
        ^
0_0_30507012_3366\Main.java:39: 错误: 需要class, interface或enum
    }
    ^
0_0_30507012_3366\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_30507012_3366\Main.java:43: 错误: 需要class, interface或enum
ll dis[100005][2];
^
0_0_30507012_3366\Main.java:44: 错误: 需要class, interface或enum
int ne1[N], ne2[N], ne3[N], tot;
^
0_0_30507012_3366\Main.java:45: 错误: 需要class, interface或enum
bool vis[N];
^
0_0_30507012_3366\Main.java:46: 错误: 需要class, interface或enum
struct node{
^
0_0_30507012_3366\Main.java:48: 错误: 需要class, interface或enum
    ll w;
    ^
0_0_30507012_3366\Main.java:49: 错误: 需要class, interface或enum
    int next;
    ^
0_0_30507012_3366\Main.java:50: 错误: 需要class, interface或enum
}p1[N+100], p2[N+100], p3[N+100];
^
0_0_30507012_3366\Main.java:52: 错误: 需要class, interface或enum
void add(int u, int v, ll w){
^
0_0_30507012_3366\Main.java:54: 错误: 需要class, interface或enum
    ne3[u] = tot;
    ^
0_0_30507012_3366\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_30507012_3366\Main.java:58: 错误: 需要class, interface或enum
    int num;
    ^
0_0_30507012_3366\Main.java:59: 错误: 需要class, interface或enum
};
^
0_0_30507012_3366\Main.java:60: 错误: 需要class, interface或enum
bool operator <(no a, no b){
^
0_0_30507012_3366\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_30507012_3366\Main.java:67: 错误: 需要class, interface或enum
    dis[u][0] = 0;
    ^
0_0_30507012_3366\Main.java:68: 错误: 需要class, interface或enum
    q.push((no){0,u});
    ^
0_0_30507012_3366\Main.java:69: 错误: 需要class, interface或enum
    while(q.size()){
    ^
0_0_30507012_3366\Main.java:71: 错误: 需要class, interface或enum
        q.pop();
        ^
0_0_30507012_3366\Main.java:72: 错误: 需要class, interface或enum
        if(vis[now.num] == 1) continue;
        ^
0_0_30507012_3366\Main.java:73: 错误: 需要class, interface或enum
        vis[now.num] = 1;
        ^
0_0_30507012_3366\Main.java:74: 错误: 需要class, interface或enum
        for(int i = ne1[now.num]; i; i = p1[i].next){
        ^
0_0_30507012_3366\Main.java:74: 错误: 需要class, interface或enum
        for(int i = ne1[now.num]; i; i = p1[i].next){
                                  ^
0_0_30507012_3366\Main.java:74: 错误: 需要class, interface或enum
        for(int i = ne1[now.num]; i; i = p1[i].next){
                                     ^
0_0_30507012_3366\Main.java:76: 错误: 需要class, interface或enum
            int gold = p1[i].v;
            ^
0_0_30507012_3366\Main.java:77: 错误: 需要class, interface或enum
            if(!vis[gold] && dis[gold][0] > dis[now.num][0] + di){
            ^
0_0_30507012_3366\Main.java:79: 错误: 需要class, interface或enum
                q.push((no){dis[gold][0], gold});
                ^
0_0_30507012_3366\Main.java:80: 错误: 需要class, interface或enum
            }
            ^
0_0_30507012_3366\Main.java:87: 错误: 需要class, interface或enum
    dis[u][1] = 0;
    ^
0_0_30507012_3366\Main.java:88: 错误: 需要class, interface或enum
    q.push((no){0,u});
    ^
0_0_30507012_3366\Main.java:89: 错误: 需要class, interface或enum
    while(q.size()){
    ^
0_0_30507012_3366\Main.java:91: 错误: 需要class, interface或enum
        q.pop();
        ^
0_0_30507012_3366\Main.java:92: 错误: 需要class, interface或enum
        if(vis[now.num] == 1) continue;
        ^
0_0_30507012_3366\Main.java:93: 错误: 需要class, interface或enum
        vis[now.num] = 1;
        ^
0_0_30507012_3366\Main.java:94: 错误: 需要class, interface或enum
        for(int i = ne2[now.num]; i; i = p2[i].next){
        ^
0_0_30507012_3366\Main.java:94: 错误: 需要class, interface或enum
        for(int i = ne2[now.num]; i; i = p2[i].next){
                                  ^
0_0_30507012_3366\Main.java:94: 错误: 需要class, interface或enum
        for(int i = ne2[now.num]; i; i = p2[i].next){
                                     ^
0_0_30507012_3366\Main.java:96: 错误: 需要class, interface或enum
            int gold = p2[i].v;
            ^
0_0_30507012_3366\Main.java:97: 错误: 需要class, interface或enum
            if(!vis[gold] && dis[gold][1] > dis[now.num][1] + di){
            ^
0_0_30507012_3366\Main.java:99: 错误: 需要class, interface或enum
                q.push((no){dis[gold][1], gold});
                ^
0_0_30507012_3366\Main.java:100: 错误: 需要class, interface或enum
            }
            ^
0_0_30507012_3366\Main.java:105: 错误: 需要class, interface或enum
bool bfs(){
^
0_0_30507012_3366\Main.java:107: 错误: 需要class, interface或enum
    queue<int> q;
    ^
0_0_30507012_3366\Main.java:108: 错误: 需要class, interface或enum
    lay[s] = 1;
    ^
0_0_30507012_3366\Main.java:109: 错误: 需要class, interface或enum
    q.push(s);
    ^
0_0_30507012_3366\Main.java:110: 错误: 需要class, interface或enum
    while(q.size()){
    ^
0_0_30507012_3366\Main.java:112: 错误: 需要class, interface或enum
        q.pop();
        ^
0_0_30507012_3366\Main.java:113: 错误: 需要class, interface或enum
        for(int i = ne3[now]; i; i = p3[i].next){
        ^
0_0_30507012_3366\Main.java:113: 错误: 需要class, interface或enum
        for(int i = ne3[now]; i; i = p3[i].next){
                              ^
0_0_30507012_3366\Main.java:113: 错误: 需要class, interface或enum
        for(int i = ne3[now]; i; i = p3[i].next){
                                 ^
0_0_30507012_3366\Main.java:116: 错误: 需要class, interface或enum
                q.push(p3[i].v);
                ^
0_0_30507012_3366\Main.java:117: 错误: 需要class, interface或enum
            }
            ^
0_0_30507012_3366\Main.java:121: 错误: 需要class, interface或enum
    return true;
    ^
0_0_30507012_3366\Main.java:122: 错误: 需要class, interface或enum
}
^
0_0_30507012_3366\Main.java:126: 错误: 需要class, interface或enum
    ll res = 0, w;
    ^
0_0_30507012_3366\Main.java:127: 错误: 需要class, interface或enum
    for(int i = ne3[st]; i; i = p3[i].next){
    ^
0_0_30507012_3366\Main.java:127: 错误: 需要class, interface或enum
    for(int i = ne3[st]; i; i = p3[i].next){
                         ^
0_0_30507012_3366\Main.java:127: 错误: 需要class, interface或enum
    for(int i = ne3[st]; i; i = p3[i].next){
                            ^
0_0_30507012_3366\Main.java:130: 错误: 需要class, interface或enum
            w = dfs(p3[i].v, min(w, p3[i].w));
            ^
0_0_30507012_3366\Main.java:131: 错误: 需要class, interface或enum
            res+=w;
            ^
0_0_30507012_3366\Main.java:132: 错误: 需要class, interface或enum
            p3[i].w-=w;
            ^
0_0_30507012_3366\Main.java:133: 错误: 需要class, interface或enum
            if(i%2 == 0) p3[i-1].w += w;
            ^
0_0_30507012_3366\Main.java:134: 错误: 需要class, interface或enum
            else p3[i+1].w += w;
            ^
0_0_30507012_3366\Main.java:135: 错误: 需要class, interface或enum
            if(res == ans) return res;
            ^
0_0_30507012_3366\Main.java:136: 错误: 需要class, interface或enum
        }
        ^
0_0_30507012_3366\Main.java:139: 错误: 需要class, interface或enum
}
^
0_0_30507012_3366\Main.java:143: 错误: 需要class, interface或enum
    while(bfs()){
    ^
0_0_30507012_3366\Main.java:145: 错误: 需要class, interface或enum
    }
    ^
0_0_30507012_3366\Main.java:147: 错误: 需要class, interface或enum
}
^
0_0_30507012_3366\Main.java:149: 错误: 需要class, interface或enum
    for(int i = 0; i <= n; i


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 03:46:46, Gzip enabled