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_23386793_31052\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_23386793_31052\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_23386793_31052\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_23386793_31052\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_23386793_31052\Main.java:5: 错误: 需要class, interface或enum
const int maxn = 60, maxm = 3000, INF = 0x3f3f3f3f;
^
0_0_23386793_31052\Main.java:6: 错误: 需要class, interface或enum
int tt, n, m, q, tot, deg[maxn], u[maxm], v[maxm];
^
0_0_23386793_31052\Main.java:7: 错误: 需要class, interface或enum
char str[maxn][21];
^
0_0_23386793_31052\Main.java:10: 错误: 非法的类型开始
private:
       ^
0_0_23386793_31052\Main.java:10: 错误: 需要';'
private:
        ^
0_0_23386793_31052\Main.java:11: 错误: 需要<标识符>
struct Edge { int nxt, from, to, cap, flow, cost; } edges[maxm << 1];
           ^
0_0_23386793_31052\Main.java:11: 错误: 需要class, interface或enum
struct Edge { int nxt, from, to, cap, flow, cost; } edges[maxm << 1];
                                                    ^
0_0_23386793_31052\Main.java:12: 错误: 需要class, interface或enum
int N, M, s, t, G[maxn], inq[maxn], d[maxn], p[maxn], a[maxn], que[maxn], l, r;
^
0_0_23386793_31052\Main.java:13: 错误: 需要class, interface或enum
void AddEdge(int from, int to, int cap, int cost)
^
0_0_23386793_31052\Main.java:16: 错误: 需要class, interface或enum
G[from] = M++;
^
0_0_23386793_31052\Main.java:17: 错误: 需要class, interface或enum
edges[M] = (Edge){G[to], to, from, 0, 0, -cost};
^
0_0_23386793_31052\Main.java:18: 错误: 需要class, interface或enum
G[to] = M++;
^
0_0_23386793_31052\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:23: 错误: 需要class, interface或enum
memset(d, 0x3f, sizeof(d));
^
0_0_23386793_31052\Main.java:24: 错误: 需要class, interface或enum
memset(inq, 0, sizeof(inq));
^
0_0_23386793_31052\Main.java:25: 错误: 需要class, interface或enum
l = r = 0;
^
0_0_23386793_31052\Main.java:26: 错误: 需要class, interface或enum
que[r++] = s;
^
0_0_23386793_31052\Main.java:27: 错误: 需要class, interface或enum
d[s] = 0; inq[s] = 1; p[s] = 0; a[s] = INF;
^
0_0_23386793_31052\Main.java:27: 错误: 需要class, interface或enum
d[s] = 0; inq[s] = 1; p[s] = 0; a[s] = INF;
          ^
0_0_23386793_31052\Main.java:27: 错误: 需要class, interface或enum
d[s] = 0; inq[s] = 1; p[s] = 0; a[s] = INF;
                      ^
0_0_23386793_31052\Main.java:27: 错误: 需要class, interface或enum
d[s] = 0; inq[s] = 1; p[s] = 0; a[s] = INF;
                                ^
0_0_23386793_31052\Main.java:28: 错误: 需要class, interface或enum
while(l != r)
^
0_0_23386793_31052\Main.java:31: 错误: 需要class, interface或enum
if(l == maxn)
^
0_0_23386793_31052\Main.java:33: 错误: 需要class, interface或enum
inq[u] = 0;
^
0_0_23386793_31052\Main.java:34: 错误: 需要class, interface或enum
for(int it = G[u]; it != -1; it = edges[it].nxt)
^
0_0_23386793_31052\Main.java:34: 错误: 需要class, interface或enum
for(int it = G[u]; it != -1; it = edges[it].nxt)
                   ^
0_0_23386793_31052\Main.java:34: 错误: 需要class, interface或enum
for(int it = G[u]; it != -1; it = edges[it].nxt)
                             ^
0_0_23386793_31052\Main.java:37: 错误: 需要class, interface或enum
if(e.cap > e.flow && d[u] + e.cost < d[e.to])
^
0_0_23386793_31052\Main.java:40: 错误: 需要class, interface或enum
p[e.to] = it;
^
0_0_23386793_31052\Main.java:41: 错误: 需要class, interface或enum
a[e.to] = min(a[u], e.cap - e.flow);
^
0_0_23386793_31052\Main.java:42: 错误: 需要class, interface或enum
if(!inq[e.to])
^
0_0_23386793_31052\Main.java:45: 错误: 需要class, interface或enum
if(r == maxn)
^
0_0_23386793_31052\Main.java:47: 错误: 需要class, interface或enum
inq[e.to] = 1;
^
0_0_23386793_31052\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:53: 错误: 需要class, interface或enum
flow += a[t];
^
0_0_23386793_31052\Main.java:54: 错误: 需要class, interface或enum
cost += d[t] * a[t];
^
0_0_23386793_31052\Main.java:55: 错误: 需要class, interface或enum
for(int u = t; u != s; u = edges[p[u]].from)
^
0_0_23386793_31052\Main.java:55: 错误: 需要class, interface或enum
for(int u = t; u != s; u = edges[p[u]].from)
               ^
0_0_23386793_31052\Main.java:55: 错误: 需要class, interface或enum
for(int u = t; u != s; u = edges[p[u]].from)
                       ^
0_0_23386793_31052\Main.java:58: 错误: 需要class, interface或enum
edges[p[u] ^ 1].flow -= a[t];
^
0_0_23386793_31052\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:62: 错误: 需要class, interface或enum
public:
      ^
0_0_23386793_31052\Main.java:65: 错误: 需要class, interface或enum
N = n + 4; M = 0;
           ^
0_0_23386793_31052\Main.java:66: 错误: 需要class, interface或enum
s = n + 2; t = n + 3;
^
0_0_23386793_31052\Main.java:66: 错误: 需要class, interface或enum
s = n + 2; t = n + 3;
           ^
0_0_23386793_31052\Main.java:67: 错误: 需要class, interface或enum
memset(G, -1, sizeof G);
^
0_0_23386793_31052\Main.java:68: 错误: 需要class, interface或enum
for(int i = 0; i < m; ++i)
^
0_0_23386793_31052\Main.java:68: 错误: 需要class, interface或enum
for(int i = 0; i < m; ++i)
               ^
0_0_23386793_31052\Main.java:68: 错误: 需要class, interface或enum
for(int i = 0; i < m; ++i)
                      ^
0_0_23386793_31052\Main.java:70: 错误: 需要class, interface或enum
for(int i = 0; i < n; ++i)
^
0_0_23386793_31052\Main.java:70: 错误: 需要class, interface或enum
for(int i = 0; i < n; ++i)
               ^
0_0_23386793_31052\Main.java:70: 错误: 需要class, interface或enum
for(int i = 0; i < n; ++i)
                      ^
0_0_23386793_31052\Main.java:74: 错误: 需要class, interface或enum
else if(deg[i] < 0)
^
0_0_23386793_31052\Main.java:76: 错误: 需要class, interface或enum
AddEdge(n, i, lim, 0);
^
0_0_23386793_31052\Main.java:77: 错误: 需要class, interface或enum
AddEdge(i, n + 1, lim, 0);
^
0_0_23386793_31052\Main.java:78: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:80: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:84: 错误: 需要class, interface或enum
int flow = 0, cost = 0;
^
0_0_23386793_31052\Main.java:85: 错误: 需要class, interface或enum
while(BellmanFord(flow, cost));
^
0_0_23386793_31052\Main.java:86: 错误: 需要class, interface或enum
return m - cost >= q;
^
0_0_23386793_31052\Main.java:87: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:89: 错误: 需要class, interface或enum
int main()
^
0_0_23386793_31052\Main.java:92: 错误: 需要class, interface或enum
for(int Case = 1; Case <= tt; ++Case)
^
0_0_23386793_31052\Main.java:92: 错误: 需要class, interface或enum
for(int Case = 1; Case <= tt; ++Case)
                  ^
0_0_23386793_31052\Main.java:92: 错误: 需要class, interface或enum
for(int Case = 1; Case <= tt; ++Case)
                              ^
0_0_23386793_31052\Main.java:95: 错误: 需要class, interface或enum
scanf("%d%d%d", &n, &m, &q);
^
0_0_23386793_31052\Main.java:96: 错误: 需要class, interface或enum
tot = 0;
^
0_0_23386793_31052\Main.java:97: 错误: 需要class, interface或enum
memset(deg, 0, sizeof deg);
^
0_0_23386793_31052\Main.java:98: 错误: 需要class, interface或enum
for(int i = 0; i < m; ++i)
^
0_0_23386793_31052\Main.java:98: 错误: 需要class, interface或enum
for(int i = 0; i < m; ++i)
               ^
0_0_23386793_31052\Main.java:98: 错误: 需要class, interface或enum
for(int i = 0; i < m; ++i)
                      ^
0_0_23386793_31052\Main.java:101: 错误: 需要class, interface或enum
scanf("%s%s", s, t);
^
0_0_23386793_31052\Main.java:102: 错误: 需要class, interface或enum
u[i] = v[i] = -1;
^
0_0_23386793_31052\Main.java:103: 错误: 需要class, interface或enum
for(int j = 0; j < tot; ++j)
^
0_0_23386793_31052\Main.java:103: 错误: 需要class, interface或enum
for(int j = 0; j < tot; ++j)
               ^
0_0_23386793_31052\Main.java:103: 错误: 需要class, interface或enum
for(int j = 0; j < tot; ++j)
                        ^
0_0_23386793_31052\Main.java:107: 错误: 需要class, interface或enum
break;
^
0_0_23386793_31052\Main.java:108: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:112: 错误: 需要class, interface或enum
u[i] = tot++;
^
0_0_23386793_31052\Main.java:113: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:114: 错误: 需要class, interface或enum
for(int j = 0; j < tot; ++j)
               ^
0_0_23386793_31052\Main.java:114: 错误: 需要class, interface或enum
for(int j = 0; j < tot; ++j)
                        ^
0_0_23386793_31052\Main.java:118: 错误: 需要class, interface或enum
break;
^
0_0_23386793_31052\Main.java:119: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:123: 错误: 需要class, interface或enum
v[i] = tot++;
^
0_0_23386793_31052\Main.java:124: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:126: 错误: 需要class, interface或enum
--deg[v[i]];
^
0_0_23386793_31052\Main.java:127: 错误: 需要class, interface或enum
}
^
0_0_23386793_31052\Main.java:129: 错误: 需要class, interface或enum
while(L < R)
^
0_0_23386793_31052\Main.java:132: 错误: 需要class, interface或enum
if(Net


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 10:05:11, Gzip enabled