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_35683339_799\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_35683339_799\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_35683339_799\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_35683339_799\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_35683339_799\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_35683339_799\Main.java:5: 错误: 非法字符: '#'
#include<queue>
^
0_0_35683339_799\Main.java:6: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_35683339_799\Main.java:8: 错误: 需要class, interface或enum
const int maxn = 120;
^
0_0_35683339_799\Main.java:9: 错误: 需要class, interface或enum
const int INF = 1e9+10;
^
0_0_35683339_799\Main.java:10: 错误: 需要class, interface或enum
double dis[maxn],mp[maxn][maxn],d;
^
0_0_35683339_799\Main.java:11: 错误: 需要class, interface或enum
int n,vis[maxn],tot,stp[maxn];
^
0_0_35683339_799\Main.java:12: 错误: 需要class, interface或enum
struct Node{
^
0_0_35683339_799\Main.java:14: 错误: 需要class, interface或enum
}cur[maxn];
^
0_0_35683339_799\Main.java:15: 错误: 需要class, interface或enum
void Init(){
^
0_0_35683339_799\Main.java:17: 错误: 需要class, interface或enum
	for(int i=0;i<=n+5;i++){
	^
0_0_35683339_799\Main.java:17: 错误: 需要class, interface或enum
	for(int i=0;i<=n+5;i++){
	            ^
0_0_35683339_799\Main.java:17: 错误: 需要class, interface或enum
	for(int i=0;i<=n+5;i++){
	                   ^
0_0_35683339_799\Main.java:18: 错误: 需要class, interface或enum
		dis[i] = INF;vis[i] = 0;stp[i] = 0;
		             ^
0_0_35683339_799\Main.java:18: 错误: 需要class, interface或enum
		dis[i] = INF;vis[i] = 0;stp[i] = 0;
		                        ^
0_0_35683339_799\Main.java:19: 错误: 需要class, interface或enum
		for(int j=0;j<=n+5;j++) mp[i][j] = INF;
		^
0_0_35683339_799\Main.java:19: 错误: 需要class, interface或enum
		for(int j=0;j<=n+5;j++) mp[i][j] = INF;
		            ^
0_0_35683339_799\Main.java:19: 错误: 需要class, interface或enum
		for(int j=0;j<=n+5;j++) mp[i][j] = INF;
		                   ^
0_0_35683339_799\Main.java:20: 错误: 需要class, interface或enum
	}
	^
0_0_35683339_799\Main.java:24: 错误: 需要class, interface或enum
	q.push(0);dis[0] = 0;
	^
0_0_35683339_799\Main.java:24: 错误: 需要class, interface或enum
	q.push(0);dis[0] = 0;
	          ^
0_0_35683339_799\Main.java:25: 错误: 需要class, interface或enum
	while(!q.empty()){
	^
0_0_35683339_799\Main.java:26: 错误: 需要class, interface或enum
		int x = q.front();q.pop();vis[x] = 0;
		                  ^
0_0_35683339_799\Main.java:26: 错误: 需要class, interface或enum
		int x = q.front();q.pop();vis[x] = 0;
		                          ^
0_0_35683339_799\Main.java:27: 错误: 需要class, interface或enum
		for(int i=0;i<=n;i++)
		^
0_0_35683339_799\Main.java:27: 错误: 需要class, interface或enum
		for(int i=0;i<=n;i++)
		            ^
0_0_35683339_799\Main.java:27: 错误: 需要class, interface或enum
		for(int i=0;i<=n;i++)
		                 ^
0_0_35683339_799\Main.java:30: 错误: 需要class, interface或enum
			if(dis[x]+mp[x][i]<dis[i]){
			^
0_0_35683339_799\Main.java:32: 错误: 需要class, interface或enum
				stp[i] = stp[x]+1;
				^
0_0_35683339_799\Main.java:33: 错误: 需要class, interface或enum
				fg = 1;
				^
0_0_35683339_799\Main.java:34: 错误: 需要class, interface或enum
			}
			^
0_0_35683339_799\Main.java:37: 错误: 需要class, interface或enum
				fg = 1;
				^
0_0_35683339_799\Main.java:38: 错误: 需要class, interface或enum
			}
			^
0_0_35683339_799\Main.java:41: 错误: 需要class, interface或enum
				q.push(i);
				^
0_0_35683339_799\Main.java:42: 错误: 需要class, interface或enum
			}
			^
0_0_35683339_799\Main.java:49: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++){
		^
0_0_35683339_799\Main.java:49: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++){
		            ^
0_0_35683339_799\Main.java:49: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++){
		                 ^
0_0_35683339_799\Main.java:51: 错误: 需要class, interface或enum
			scanf("%lf%lf",&x,&y);
			^
0_0_35683339_799\Main.java:52: 错误: 需要class, interface或enum
			double dd = sqrt(x*x+y*y);
			^
0_0_35683339_799\Main.java:53: 错误: 需要class, interface或enum
			if(dd>7.5){
			^
0_0_35683339_799\Main.java:55: 错误: 需要class, interface或enum
				cur[tot].y = y;
				^
0_0_35683339_799\Main.java:56: 错误: 需要class, interface或enum
				if(dd-7.5<=d){ //注意筛选湖水中的点 
				^
0_0_35683339_799\Main.java:58: 错误: 需要class, interface或enum
					mp[tot][0] = dd-7.5;
					^
0_0_35683339_799\Main.java:59: 错误: 需要class, interface或enum
				}
				^
0_0_35683339_799\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<n;i++){
		^
0_0_35683339_799\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<n;i++){
		            ^
0_0_35683339_799\Main.java:63: 错误: 需要class, interface或enum
		for(int i=1;i<n;i++){
		                ^
0_0_35683339_799\Main.java:66: 错误: 需要class, interface或enum
			}
			^
0_0_35683339_799\Main.java:67: 错误: 需要class, interface或enum
			for(int j=i+1;j<n;j++){
			              ^
0_0_35683339_799\Main.java:67: 错误: 需要class, interface或enum
			for(int j=i+1;j<n;j++){
			                  ^
0_0_35683339_799\Main.java:69: 错误: 需要class, interface或enum
				if(dd<=d) mp[i][j] = mp[j][i] = dd; //选择距离合适的边 
				^
0_0_35683339_799\Main.java:70: 错误: 需要class, interface或enum
			}
			^
0_0_35683339_799\Main.java:73: 错误: 需要class, interface或enum
		if(dis[n]==INF) printf("can't be saved\n");
		^
0_0_35683339_799\Main.java:74: 错误: 需要class, interface或enum
		else printf("%.2lf %d\n",dis[n],stp[n]);
		^
0_0_35683339_799\Main.java:75: 错误: 需要class, interface或enum
	}
	^
0_0_35683339_799\Main.java:77: 错误: 需要class, interface或enum
}
^
61 个错误


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-25 01:44:55, Gzip enabled