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_38762113_17893\Main.java:17: 错误: 非法字符: '#'
#include <iostream>
^
0_0_38762113_17893\Main.java:17: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_38762113_17893\Main.java:18: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_38762113_17893\Main.java:19: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_38762113_17893\Main.java:20: 错误: 非法字符: '#'
#include <cmath>
^
0_0_38762113_17893\Main.java:21: 错误: 非法字符: '#'
#include <cstdlib>
^
0_0_38762113_17893\Main.java:22: 错误: 非法字符: '#'
#include <cstring>
^
0_0_38762113_17893\Main.java:23: 错误: 非法字符: '#'
#include <climits>
^
0_0_38762113_17893\Main.java:24: 错误: 非法字符: '#'
#include <cctype>
^
0_0_38762113_17893\Main.java:25: 错误: 非法字符: '#'
#include <map>
^
0_0_38762113_17893\Main.java:26: 错误: 非法字符: '#'
#include <list>
^
0_0_38762113_17893\Main.java:27: 错误: 非法字符: '#'
#include <stack>
^
0_0_38762113_17893\Main.java:28: 错误: 非法字符: '#'
#include <queue>
^
0_0_38762113_17893\Main.java:29: 错误: 非法字符: '#'
#include <vector>
^
0_0_38762113_17893\Main.java:30: 错误: 非法字符: '#'
#include <set>
^
0_0_38762113_17893\Main.java:31: 错误: 非法字符: '#'
#define mem(a,b) memset((a),(b),sizeof(a))
^
0_0_38762113_17893\Main.java:33: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_38762113_17893\Main.java:34: 错误: 需要class, interface或enum
const double PI=acos(-1.0);
^
0_0_38762113_17893\Main.java:35: 错误: 需要class, interface或enum
const double eps=1e-12;
^
0_0_38762113_17893\Main.java:36: 错误: 需要class, interface或enum
const int MAX=100000+10;
^
0_0_38762113_17893\Main.java:37: 错误: 需要class, interface或enum
const int EDGE=20000+10;//边的条数
^
0_0_38762113_17893\Main.java:38: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_38762113_17893\Main.java:39: 错误: 需要class, interface或enum
int pre[1111],ans;
^
0_0_38762113_17893\Main.java:40: 错误: 需要class, interface或enum
void init(int n)
^
0_0_38762113_17893\Main.java:43: 错误: 需要class, interface或enum
	for(i=0;i<n;i++)
	^
0_0_38762113_17893\Main.java:43: 错误: 需要class, interface或enum
	for(i=0;i<n;i++)
	        ^
0_0_38762113_17893\Main.java:43: 错误: 需要class, interface或enum
	for(i=0;i<n;i++)
	            ^
0_0_38762113_17893\Main.java:46: 错误: 需要class, interface或enum
	}
	^
0_0_38762113_17893\Main.java:51: 错误: 需要class, interface或enum
	return pre[x];
	^
0_0_38762113_17893\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_38762113_17893\Main.java:56: 错误: 需要class, interface或enum
	ra=find(a);
	^
0_0_38762113_17893\Main.java:57: 错误: 需要class, interface或enum
	rb=find(b);
	^
0_0_38762113_17893\Main.java:58: 错误: 需要class, interface或enum
	if(ra!=rb) pre[ra]=rb;
	^
0_0_38762113_17893\Main.java:59: 错误: 需要class, interface或enum
	else ans++;
	^
0_0_38762113_17893\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_38762113_17893\Main.java:64: 错误: 需要class, interface或enum
	while(~scanf("%d%d",&n,&m))
	^
0_0_38762113_17893\Main.java:67: 错误: 需要class, interface或enum
		ans=0;
		^
0_0_38762113_17893\Main.java:68: 错误: 需要class, interface或enum
		while(m--)
		^
0_0_38762113_17893\Main.java:71: 错误: 需要class, interface或enum
			merge(a,b);
			^
0_0_38762113_17893\Main.java:72: 错误: 需要class, interface或enum
		}
		^
0_0_38762113_17893\Main.java:74: 错误: 需要class, interface或enum
	}
	^
0_0_38762113_17893\Main.java:76: 错误: 需要class, interface或enum
}
^
42 个错误


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 07:44:36, Gzip enabled