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_31587052_28362\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_31587052_28362\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_31587052_28362\Main.java:4: 错误: 需要class, interface或enum
namespace Dinic {
^
0_0_31587052_28362\Main.java:6: 错误: 需要class, interface或enum
	const F INF = 1e9+1e8;
	^
0_0_31587052_28362\Main.java:8: 错误: 需要class, interface或enum
	const int N = 111111;
	^
0_0_31587052_28362\Main.java:9: 错误: 需要class, interface或enum
	const int M = 111111 * 2;
	^
0_0_31587052_28362\Main.java:11: 错误: 需要class, interface或enum
	int fst[N], nxt[M], to[M];
	^
0_0_31587052_28362\Main.java:12: 错误: 需要class, interface或enum
	F cap[M];
	^
0_0_31587052_28362\Main.java:13: 错误: 需要class, interface或enum
	int dis[N], q[N], ptr[N];
	^
0_0_31587052_28362\Main.java:14: 错误: 需要class, interface或enum
	int V, E;
	^
0_0_31587052_28362\Main.java:16: 错误: 需要class, interface或enum
	void init() {
	^
0_0_31587052_28362\Main.java:18: 错误: 需要class, interface或enum
		V = E = 0;
		^
0_0_31587052_28362\Main.java:19: 错误: 需要class, interface或enum
	}
	^
0_0_31587052_28362\Main.java:20: 错误: 需要class, interface或enum
	inline int add_node() { V++; return V-1; }
	                             ^
0_0_31587052_28362\Main.java:20: 错误: 需要class, interface或enum
	inline int add_node() { V++; return V-1; }
	                                         ^
0_0_31587052_28362\Main.java:23: 错误: 需要class, interface或enum
		to[E] = u, cap[E] = 0, nxt[E] = fst[v], fst[v] = E++;
		^
0_0_31587052_28362\Main.java:24: 错误: 需要class, interface或enum
	}
	^
0_0_31587052_28362\Main.java:27: 错误: 需要class, interface或enum
		int h = 0, t = 0;
		^
0_0_31587052_28362\Main.java:28: 错误: 需要class, interface或enum
		dis[S] = 0, q[t++] = S;
		^
0_0_31587052_28362\Main.java:29: 错误: 需要class, interface或enum
		while (h < t) {
		^
0_0_31587052_28362\Main.java:31: 错误: 需要class, interface或enum
			for (int e = fst[u]; ~e; e = nxt[e]) if (cap[e] > 0 && dis[to[e]] == -1) {
			^
0_0_31587052_28362\Main.java:31: 错误: 需要class, interface或enum
			for (int e = fst[u]; ~e; e = nxt[e]) if (cap[e] > 0 && dis[to[e]] == -1) {
			                     ^
0_0_31587052_28362\Main.java:31: 错误: 需要class, interface或enum
			for (int e = fst[u]; ~e; e = nxt[e]) if (cap[e] > 0 && dis[to[e]] == -1) {
			                         ^
0_0_31587052_28362\Main.java:33: 错误: 需要class, interface或enum
				if (to[e] == T) return 1;
				^
0_0_31587052_28362\Main.java:34: 错误: 需要class, interface或enum
			}
			^
0_0_31587052_28362\Main.java:37: 错误: 需要class, interface或enum
	}
	^
0_0_31587052_28362\Main.java:40: 错误: 需要class, interface或enum
		for (int &e = ptr[u]; ~e; e = nxt[e]) if (cap[e] > 0 && dis[to[e]] > dis[u]) {
		^
0_0_31587052_28362\Main.java:40: 错误: 需要class, interface或enum
		for (int &e = ptr[u]; ~e; e = nxt[e]) if (cap[e] > 0 && dis[to[e]] > dis[u]) {
		                      ^
0_0_31587052_28362\Main.java:40: 错误: 需要class, interface或enum
		for (int &e = ptr[u]; ~e; e = nxt[e]) if (cap[e] > 0 && dis[to[e]] > dis[u]) {
		                          ^
0_0_31587052_28362\Main.java:42: 错误: 需要class, interface或enum
			if (ret > 0) {
			^
0_0_31587052_28362\Main.java:44: 错误: 需要class, interface或enum
				return ret;
				^
0_0_31587052_28362\Main.java:45: 错误: 需要class, interface或enum
			}
			^
0_0_31587052_28362\Main.java:48: 错误: 需要class, interface或enum
	}
	^
0_0_31587052_28362\Main.java:51: 错误: 需要class, interface或enum
		while (bfs(S, T, n)) {
		^
0_0_31587052_28362\Main.java:53: 错误: 需要class, interface或enum
			for (F cur; (cur = dfs(S, T, INF)) > 0; ret += cur);
			^
0_0_31587052_28362\Main.java:53: 错误: 需要class, interface或enum
			for (F cur; (cur = dfs(S, T, INF)) > 0; ret += cur);
			            ^
0_0_31587052_28362\Main.java:53: 错误: 需要class, interface或enum
			for (F cur; (cur = dfs(S, T, INF)) > 0; ret += cur);
			                                        ^
0_0_31587052_28362\Main.java:54: 错误: 需要class, interface或enum
		}
		^
0_0_31587052_28362\Main.java:56: 错误: 需要class, interface或enum
	}
	^
0_0_31587052_28362\Main.java:61: 错误: 需要class, interface或enum
int ind[N][N];
^
0_0_31587052_28362\Main.java:62: 错误: 需要class, interface或enum
char pan[N][N];
^
0_0_31587052_28362\Main.java:64: 错误: 需要class, interface或enum
int dx[] = {1, 1, -1, -1};
^
0_0_31587052_28362\Main.java:65: 错误: 需要class, interface或enum
int dy[] = {1, -1, 1, -1};
^
0_0_31587052_28362\Main.java:67: 错误: 需要class, interface或enum
int chk[110000], que[110000];
^
0_0_31587052_28362\Main.java:69: 错误: 需要class, interface或enum
int main() {
^
0_0_31587052_28362\Main.java:72: 错误: 需要class, interface或enum
	cin.tie(0), cout.tie(0);
	^
0_0_31587052_28362\Main.java:74: 错误: 需要class, interface或enum
	int tcase; cin >> tcase;
	^
0_0_31587052_28362\Main.java:74: 错误: 需要class, interface或enum
	int tcase; cin >> tcase;
	           ^
0_0_31587052_28362\Main.java:75: 错误: 需要class, interface或enum
	while (tcase--) {
	^
0_0_31587052_28362\Main.java:76: 错误: 需要class, interface或enum
		int n, m, a, b; cin >> n >> m >> a >> b;
		                ^
0_0_31587052_28362\Main.java:77: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) cin >> pan[i];
		^
0_0_31587052_28362\Main.java:77: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) cin >> pan[i];
		                ^
0_0_31587052_28362\Main.java:77: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) cin >> pan[i];
		                       ^
0_0_31587052_28362\Main.java:78: 错误: 需要class, interface或enum
		Dinic::init();
		^
0_0_31587052_28362\Main.java:79: 错误: 需要class, interface或enum
		int indn = 0;
		^
0_0_31587052_28362\Main.java:80: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) ind[i][j] = ++indn;
		^
0_0_31587052_28362\Main.java:80: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) ind[i][j] = ++indn;
		                ^
0_0_31587052_28362\Main.java:80: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) ind[i][j] = ++indn;
		                       ^
0_0_31587052_28362\Main.java:80: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) ind[i][j] = ++indn;
		                                            ^
0_0_31587052_28362\Main.java:80: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) ind[i][j] = ++indn;
		                                                   ^
0_0_31587052_28362\Main.java:81: 错误: 需要class, interface或enum
		int src = ++indn, sink = ++indn, real_src = ++indn;
		^
0_0_31587052_28362\Main.java:82: 错误: 需要class, interface或enum
		Dinic::add_edge(real_src, src, Dinic::INF);
		^
0_0_31587052_28362\Main.java:83: 错误: 需要class, interface或enum
		int tot = 0;
		^
0_0_31587052_28362\Main.java:84: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		^
0_0_31587052_28362\Main.java:84: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		                ^
0_0_31587052_28362\Main.java:84: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		                       ^
0_0_31587052_28362\Main.java:84: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		                                            ^
0_0_31587052_28362\Main.java:84: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		                                                   ^
0_0_31587052_28362\Main.java:85: 错误: 需要class, interface或enum
			for (int d = 0; d < 4; d++) {
			                ^
0_0_31587052_28362\Main.java:85: 错误: 需要class, interface或enum
			for (int d = 0; d < 4; d++) {
			                       ^
0_0_31587052_28362\Main.java:87: 错误: 需要class, interface或enum
				if (x < 0 || x >= n || y < 0 || y >= m) continue;
				^
0_0_31587052_28362\Main.java:88: 错误: 需要class, interface或enum
				Dinic::add_edge(ind[i][j], ind[x][y], 1), tot++;
				^
0_0_31587052_28362\Main.java:89: 错误: 需要class, interface或enum
			}
			^
0_0_31587052_28362\Main.java:92: 错误: 需要class, interface或enum
		for (int i = 0; i <= indn; i++) chk[i] = -1;
		^
0_0_31587052_28362\Main.java:92: 错误: 需要class, interface或enum
		for (int i = 0; i <= indn; i++) chk[i] = -1;
		                ^
0_0_31587052_28362\Main.java:92: 错误: 需要class, interface或enum
		for (int i = 0; i <= indn; i++) chk[i] = -1;
		                           ^
0_0_31587052_28362\Main.java:93: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		^
0_0_31587052_28362\Main.java:93: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		                ^
0_0_31587052_28362\Main.java:93: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		                       ^
0_0_31587052_28362\Main.java:93: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) for (int j = 0; j < m; j++) {
		                                            ^
0_0_31587052_28362\Main.java:93: 错误: 需要cla


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-23 08:12:57, Gzip enabled