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_17216841_13101\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_17216841_13101\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_17216841_13101\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_17216841_13101\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_17216841_13101\Main.java:4: 错误: 非法字符: '#'
#include<vector>
^
0_0_17216841_13101\Main.java:5: 错误: 非法字符: '#'
#include<stack>
^
0_0_17216841_13101\Main.java:6: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_17216841_13101\Main.java:9: 错误: 需要class, interface或enum
const int maxn = 2222;
^
0_0_17216841_13101\Main.java:11: 错误: 需要class, interface或enum
int scan() {
^
0_0_17216841_13101\Main.java:12: 错误: 需要class, interface或enum
	int ret = 0, flag = 0; char ch;
	                       ^
0_0_17216841_13101\Main.java:13: 错误: 需要class, interface或enum
	if ((ch = getchar()) == '-') flag = 1;
	^
0_0_17216841_13101\Main.java:14: 错误: 需要class, interface或enum
	else if (ch >= '0'&&ch <= '9') ret = ch - '0';
	^
0_0_17216841_13101\Main.java:15: 错误: 需要class, interface或enum
	while ((ch = getchar()) >= '0'&&ch <= '9') ret = ret * 10 + ch - '0';
	^
0_0_17216841_13101\Main.java:16: 错误: 需要class, interface或enum
	return flag ? -ret : ret;
	^
0_0_17216841_13101\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_17216841_13101\Main.java:21: 错误: 需要class, interface或enum
	putchar(x % 10 + '0');
	^
0_0_17216841_13101\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_17216841_13101\Main.java:26: 错误: 需要class, interface或enum
int n, m;
^
0_0_17216841_13101\Main.java:28: 错误: 需要class, interface或enum
vector<int> G[maxn],G2[maxn];
^
0_0_17216841_13101\Main.java:30: 错误: 需要class, interface或enum
bool match(int u) {
^
0_0_17216841_13101\Main.java:31: 错误: 需要class, interface或enum
	for (int i = 0; i < G[u].size(); i++) {
	                ^
0_0_17216841_13101\Main.java:31: 错误: 需要class, interface或enum
	for (int i = 0; i < G[u].size(); i++) {
	                                 ^
0_0_17216841_13101\Main.java:33: 错误: 需要class, interface或enum
		if (!_t[v]) {
		^
0_0_17216841_13101\Main.java:35: 错误: 需要class, interface或enum
			if (lef[v]==-1 || match(lef[v])) {
			^
0_0_17216841_13101\Main.java:37: 错误: 需要class, interface或enum
				return true;
				^
0_0_17216841_13101\Main.java:38: 错误: 需要class, interface或enum
			}
			^
0_0_17216841_13101\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_17216841_13101\Main.java:45: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	                ^
0_0_17216841_13101\Main.java:45: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	                       ^
0_0_17216841_13101\Main.java:47: 错误: 需要class, interface或enum
		match(i);
		^
0_0_17216841_13101\Main.java:48: 错误: 需要class, interface或enum
	}
	^
0_0_17216841_13101\Main.java:55: 错误: 需要class, interface或enum
stack<int> S;
^
0_0_17216841_13101\Main.java:57: 错误: 需要class, interface或enum
void dfs(int u) {
^
0_0_17216841_13101\Main.java:59: 错误: 需要class, interface或enum
	S.push(u);
	^
0_0_17216841_13101\Main.java:60: 错误: 需要class, interface或enum
	for (int i = 0; i < G2[u].size(); i++) {
	^
0_0_17216841_13101\Main.java:60: 错误: 需要class, interface或enum
	for (int i = 0; i < G2[u].size(); i++) {
	                ^
0_0_17216841_13101\Main.java:60: 错误: 需要class, interface或enum
	for (int i = 0; i < G2[u].size(); i++) {
	                                  ^
0_0_17216841_13101\Main.java:62: 错误: 需要class, interface或enum
		if (!pre[v]) {
		^
0_0_17216841_13101\Main.java:64: 错误: 需要class, interface或enum
			lowlink[u] = min(lowlink[u], lowlink[v]);
			^
0_0_17216841_13101\Main.java:65: 错误: 需要class, interface或enum
		}
		^
0_0_17216841_13101\Main.java:68: 错误: 需要class, interface或enum
		}
		^
0_0_17216841_13101\Main.java:72: 错误: 需要class, interface或enum
		for (;;) {
		^
0_0_17216841_13101\Main.java:72: 错误: 需要class, interface或enum
		for (;;) {
		       ^
0_0_17216841_13101\Main.java:73: 错误: 需要class, interface或enum
			int x = S.top(); S.pop();
			                 ^
0_0_17216841_13101\Main.java:74: 错误: 需要class, interface或enum
			sccno[x] = scc_cnt;
			^
0_0_17216841_13101\Main.java:75: 错误: 需要class, interface或enum
			if (x == u) break;
			^
0_0_17216841_13101\Main.java:76: 错误: 需要class, interface或enum
		}
		^
0_0_17216841_13101\Main.java:82: 错误: 需要class, interface或enum
	memset(sccno, 0, sizeof(sccno));
	^
0_0_17216841_13101\Main.java:83: 错误: 需要class, interface或enum
	memset(pre, 0, sizeof(pre));
	^
0_0_17216841_13101\Main.java:84: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	^
0_0_17216841_13101\Main.java:84: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	                ^
0_0_17216841_13101\Main.java:84: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	                       ^
0_0_17216841_13101\Main.java:86: 错误: 需要class, interface或enum
	}
	^
0_0_17216841_13101\Main.java:90: 错误: 需要class, interface或enum
void solve() {
^
0_0_17216841_13101\Main.java:93: 错误: 需要class, interface或enum
	int tot_n = n;
	^
0_0_17216841_13101\Main.java:94: 错误: 需要class, interface或enum
	for (int i = 0; i < m; i++) {
	^
0_0_17216841_13101\Main.java:94: 错误: 需要class, interface或enum
	for (int i = 0; i < m; i++) {
	                ^
0_0_17216841_13101\Main.java:94: 错误: 需要class, interface或enum
	for (int i = 0; i < m; i++) {
	                       ^
0_0_17216841_13101\Main.java:97: 错误: 需要class, interface或enum
		}
		^
0_0_17216841_13101\Main.java:99: 错误: 需要class, interface或enum
	}
	^
0_0_17216841_13101\Main.java:101: 错误: 需要class, interface或enum
	for (int i = 0; i < tot_n; i++) {
	^
0_0_17216841_13101\Main.java:101: 错误: 需要class, interface或enum
	for (int i = 0; i < tot_n; i++) {
	                ^
0_0_17216841_13101\Main.java:101: 错误: 需要class, interface或enum
	for (int i = 0; i < tot_n; i++) {
	                           ^
0_0_17216841_13101\Main.java:103: 错误: 需要class, interface或enum
	}
	^
0_0_17216841_13101\Main.java:104: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	                ^
0_0_17216841_13101\Main.java:104: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	                       ^
0_0_17216841_13101\Main.java:105: 错误: 需要class, interface或enum
		for (int j = 0; j < G[i].size(); j++) {
		                ^
0_0_17216841_13101\Main.java:105: 错误: 需要class, interface或enum
		for (int j = 0; j < G[i].size(); j++) {
		                                 ^
0_0_17216841_13101\Main.java:107: 错误: 需要class, interface或enum
			G2[i].push_back(v + tot_n);
			^
0_0_17216841_13101\Main.java:108: 错误: 需要class, interface或enum
		}
		^
0_0_17216841_13101\Main.java:110: 错误: 需要class, interface或enum
	for (int i = n; i < tot_n; i++) {
	                ^
0_0_17216841_13101\Main.java:110: 错误: 需要class, interface或enum
	for (int i = n; i < tot_n; i++) {
	                           ^
0_0_17216841_13101\Main.java:111: 错误: 需要class, interface或enum
		for (int v = 0; v < m; v++) {
		                ^
0_0_17216841_13101\Main.java:111: 错误: 需要class, interface或enum
		for (int v = 0; v < m; v++) {
		                       ^
0_0_17216841_13101\Main.java:113: 错误: 需要class, interface或enum
		}
		^
0_0_17216841_13101\Main.java:115: 错误: 需要class, interface或enum
	for (int i = m; i < tot_n; i++) {
	                ^
0_0_17216841_13101\Main.java:115: 错误: 需要class, interface或enum
	for (int i = m; i < tot_n; i++) {
	                           ^
0_0_17216841_13101\Main.java:116: 错误: 需要class, interface或enum
		for (int v = 0; v < tot_n; v++) {
		                ^
0_0_17216841_13101\Main.java:116: 错误: 需要class, interface或enum
		for (int v = 0; v < tot_n; v++) {
		                           ^
0_0_17216841_13101\Main.java:118: 错误: 需要class, interface或enum
		}
		^
0_0_17216841_13101\Main.java:120: 错误: 需要class, interface或enum
	for (int i = 0; i < tot_n; i++) {
	                ^
0_0_17216841_13101\Main.java:120: 错误: 需要class, interface或enum
	for (int i = 0; i < tot_n; i++) {
	                           ^
0_0_17216841_13101\Main.java:122: 错误: 需要class, interface或enum
	}
	^
0_0_17216841_13101\Main.java:142: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	^
0_0_17216841_13101\Main.java:142: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	                ^
0_0_17216841_13101\Main.java:142: 错误: 需要class, interface或enum
	for (int i = 0; i < n; i++) {
	                       ^
0_0_17216841_13101\Main.java:144: 错误: 需要class, interface或enum
		for (int j = 0; j < G[i].size(); j++) {
		^
0_0_17216841_13101\Main.java:144: 错误: 需要class, interface或enum
		for (int j = 0; j < G[i].size(); j++) {
		                ^
0_0_17216841_13101\Main.java:144: 错误: 需要class, interface或enum
		for (int j = 0; j < G[i].size(); j++) {
		                                 ^
0_0_17216841_13101\Main.java:146: 错误: 需要class, interface或enum
			if (sccno[i] == sccno[v + tot_n]) ans.push_back(v);
			^
0_0_17216841_13101\Main.java:147: 错误: 需要class, interface或enum
		}
		^
0_0_17216841_13101


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-13 11:41:59, Gzip enabled