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_31190708_9243\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_31190708_9243\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_31190708_9243\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_31190708_9243\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_31190708_9243\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>	
^
0_0_31190708_9243\Main.java:6: 错误: 非法字符: '#'
#define maxn 110
^
0_0_31190708_9243\Main.java:8: 错误: 需要class, interface或enum
const db eps = 1e-9;
^
0_0_31190708_9243\Main.java:9: 错误: 需要class, interface或enum
struct Trie {
^
0_0_31190708_9243\Main.java:11: 错误: 需要class, interface或enum
	int id;
	^
0_0_31190708_9243\Main.java:12: 错误: 需要class, interface或enum
} mem[maxn], *tot = mem, *end[maxn], *q[maxn];
^
0_0_31190708_9243\Main.java:13: 错误: 需要class, interface或enum
inline void build()
^
0_0_31190708_9243\Main.java:16: 错误: 需要class, interface或enum
	for (int i = 0; i < 6; ++i)
	^
0_0_31190708_9243\Main.java:16: 错误: 需要class, interface或enum
	for (int i = 0; i < 6; ++i)
	                ^
0_0_31190708_9243\Main.java:16: 错误: 需要class, interface或enum
	for (int i = 0; i < 6; ++i)
	                       ^
0_0_31190708_9243\Main.java:18: 错误: 需要class, interface或enum
		else (q[++tail] = mem -> next[i]) -> fail = mem;
		^
0_0_31190708_9243\Main.java:19: 错误: 需要class, interface或enum
	while (head < tail)
	^
0_0_31190708_9243\Main.java:22: 错误: 需要class, interface或enum
		for (int i = 0; i < 6; ++i)
		^
0_0_31190708_9243\Main.java:22: 错误: 需要class, interface或enum
		for (int i = 0; i < 6; ++i)
		                ^
0_0_31190708_9243\Main.java:22: 错误: 需要class, interface或enum
		for (int i = 0; i < 6; ++i)
		                       ^
0_0_31190708_9243\Main.java:25: 错误: 需要class, interface或enum
			else (q[++tail] = now -> next[i]) -> fail = now -> fail -> next[i];
			^
0_0_31190708_9243\Main.java:26: 错误: 需要class, interface或enum
	}
	^
0_0_31190708_9243\Main.java:29: 错误: 需要class, interface或enum
int main()
^
0_0_31190708_9243\Main.java:31: 错误: 需要class, interface或enum
	int T; scanf("%d", &T);
	       ^
0_0_31190708_9243\Main.java:32: 错误: 需要class, interface或enum
	for (; T; --T)
	^
0_0_31190708_9243\Main.java:32: 错误: 需要class, interface或enum
	for (; T; --T)
	       ^
0_0_31190708_9243\Main.java:32: 错误: 需要class, interface或enum
	for (; T; --T)
	          ^
0_0_31190708_9243\Main.java:34: 错误: 需要class, interface或enum
		int n, L; scanf("%d%d", &n, &L);
		          ^
0_0_31190708_9243\Main.java:35: 错误: 需要class, interface或enum
		memset(mem -> next, 0, sizeof (mem -> next)); tot = mem;
		^
0_0_31190708_9243\Main.java:35: 错误: 需要class, interface或enum
		memset(mem -> next, 0, sizeof (mem -> next)); tot = mem;
		                                              ^
0_0_31190708_9243\Main.java:36: 错误: 需要class, interface或enum
		memset(b, 0, sizeof (b));
		^
0_0_31190708_9243\Main.java:37: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; ++i)
		^
0_0_31190708_9243\Main.java:37: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; ++i)
		                ^
0_0_31190708_9243\Main.java:37: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; ++i)
		                        ^
0_0_31190708_9243\Main.java:40: 错误: 需要class, interface或enum
			for (int j = 1; j <= L; ++j)
			^
0_0_31190708_9243\Main.java:40: 错误: 需要class, interface或enum
			for (int j = 1; j <= L; ++j)
			                ^
0_0_31190708_9243\Main.java:40: 错误: 需要class, interface或enum
			for (int j = 1; j <= L; ++j)
			                        ^
0_0_31190708_9243\Main.java:42: 错误: 需要class, interface或enum
				int x; scanf("%d", &x); --x;
				       ^
0_0_31190708_9243\Main.java:42: 错误: 需要class, interface或enum
				int x; scanf("%d", &x); --x;
				                        ^
0_0_31190708_9243\Main.java:43: 错误: 需要class, interface或enum
				if (!now -> next[x])
				^
0_0_31190708_9243\Main.java:46: 错误: 需要class, interface或enum
					memset(tot -> next, 0, sizeof tot -> next);
					^
0_0_31190708_9243\Main.java:47: 错误: 需要class, interface或enum
				}
				^
0_0_31190708_9243\Main.java:49: 错误: 需要class, interface或enum
			}
			^
0_0_31190708_9243\Main.java:51: 错误: 需要class, interface或enum
		}
		^
0_0_31190708_9243\Main.java:59: 错误: 需要class, interface或enum
		int num = tot - mem;
		^
0_0_31190708_9243\Main.java:60: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; ++i) b[0][end[i] - mem] = 1;
		^
0_0_31190708_9243\Main.java:60: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; ++i) b[0][end[i] - mem] = 1;
		                ^
0_0_31190708_9243\Main.java:60: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; ++i) b[0][end[i] - mem] = 1;
		                        ^
0_0_31190708_9243\Main.java:61: 错误: 需要class, interface或enum
		b[0][num + 1] = 1;
		^
0_0_31190708_9243\Main.java:62: 错误: 需要class, interface或enum
		for (int i = 1; i <= num; ++i) b[i][i] = -1;
		^
0_0_31190708_9243\Main.java:62: 错误: 需要class, interface或enum
		for (int i = 1; i <= num; ++i) b[i][i] = -1;
		                ^
0_0_31190708_9243\Main.java:62: 错误: 需要class, interface或enum
		for (int i = 1; i <= num; ++i) b[i][i] = -1;
		                          ^
0_0_31190708_9243\Main.java:63: 错误: 需要class, interface或enum
		for (Trie *it = mem; it <= tot; ++it)
		^
0_0_31190708_9243\Main.java:63: 错误: 需要class, interface或enum
		for (Trie *it = mem; it <= tot; ++it)
		                     ^
0_0_31190708_9243\Main.java:63: 错误: 需要class, interface或enum
		for (Trie *it = mem; it <= tot; ++it)
		                                ^
0_0_31190708_9243\Main.java:64: 错误: 需要class, interface或enum
			for (int i = 0; i < 6; ++i)
			                ^
0_0_31190708_9243\Main.java:64: 错误: 需要class, interface或enum
			for (int i = 0; i < 6; ++i)
			                       ^
0_0_31190708_9243\Main.java:68: 错误: 需要class, interface或enum
		for (int i = 0; i <= num + 1; ++i, puts(""))
		^
0_0_31190708_9243\Main.java:68: 错误: 需要class, interface或enum
		for (int i = 0; i <= num + 1; ++i, puts(""))
		                ^
0_0_31190708_9243\Main.java:68: 错误: 需要class, interface或enum
		for (int i = 0; i <= num + 1; ++i, puts(""))
		                              ^
0_0_31190708_9243\Main.java:69: 错误: 需要class, interface或enum
			for (int j = 0; j <= num + 1; ++j)
			                ^
0_0_31190708_9243\Main.java:69: 错误: 需要class, interface或enum
			for (int j = 0; j <= num + 1; ++j)
			                              ^
0_0_31190708_9243\Main.java:72: 错误: 需要class, interface或enum
		for (int i = 0; i <= num; ++i)
		^
0_0_31190708_9243\Main.java:72: 错误: 需要class, interface或enum
		for (int i = 0; i <= num; ++i)
		                ^
0_0_31190708_9243\Main.java:72: 错误: 需要class, interface或enum
		for (int i = 0; i <= num; ++i)
		                          ^
0_0_31190708_9243\Main.java:77: 错误: 需要class, interface或enum
				for (int j = i + 1; j <= num; ++j)
				^
0_0_31190708_9243\Main.java:77: 错误: 需要class, interface或enum
				for (int j = i + 1; j <= num; ++j)
				                    ^
0_0_31190708_9243\Main.java:77: 错误: 需要class, interface或enum
				for (int j = i + 1; j <= num; ++j)
				                              ^
0_0_31190708_9243\Main.java:79: 错误: 需要class, interface或enum
				for (int j = i; j <= num + 1; ++j)
				^
0_0_31190708_9243\Main.java:79: 错误: 需要class, interface或enum
				for (int j = i; j <= num + 1; ++j)
				                ^
0_0_31190708_9243\Main.java:79: 错误: 需要class, interface或enum
				for (int j = i; j <= num + 1; ++j)
				                              ^
0_0_31190708_9243\Main.java:81: 错误: 需要class, interface或enum
			}
			^
0_0_31190708_9243\Main.java:82: 错误: 需要class, interface或enum
			for (int j = i + 1; j <= num; ++j)
			                    ^
0_0_31190708_9243\Main.java:82: 错误: 需要class, interface或enum
			for (int j = i + 1; j <= num; ++j)
			                              ^
0_0_31190708_9243\Main.java:85: 错误: 需要class, interface或enum
				for (int k = i; k <= num + 1; ++k)
				^
0_0_31190708_9243\Main.java:85: 错误: 需要class, interface或enum
				for (int k = i; k <= num + 1; ++k)
				                ^
0_0_31190708_9243\Main.java:85: 错误: 需要class, interface或enum
				for (int k = i; k <= num + 1; ++k)
				                              ^
0_0_31190708_9243\Main.java:87: 错误: 需要class, interface或enum
			}
			^
0_0_31190708_9243\Main.java:90: 错误: 需要class, interface或enum
		for (int i = num - 1; ~i; --i)
		^
0_0_31190708_9243\Main.java:90: 错误: 需要class, interface或enum
		for (int i = num - 1; ~i; --i)
		                      ^
0_0_31190708_9243\Main.java:90: 错误: 需要class, interface或enum
		for (int i = num - 1; ~i; --i)
		                          ^
0_0_31190708_9243\Main.java:92: 错误: 需要class, interface或enum
			for (int j = i + 1; j <= num; ++j)
			                    ^
0_0_31190708_9243\Main.java:92: 错误: 需要class, interface或enum
			for (int j = i + 1; j <= num; ++j)
			                              ^
0_0_31190708_9243\Main.java:94: 错误: 需要class, interface或enum
			x[i] = b[i][num + 1] / b[i][i];
			^
0_0_31190708_9243\Main.java:95: 错误: 需要class, interface或enum
		}
		^
0_0_31190708_9243\Main.java:98: 错误: 需要c


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-01 10:17:35, Gzip enabled