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_17581481_14659\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_17581481_14659\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_17581481_14659\Main.java:2: 错误: 非法字符: '#'
#include <cmath>
^
0_0_17581481_14659\Main.java:5: 错误: 需要class, interface或enum
const int maxn = 1e4+10;
^
0_0_17581481_14659\Main.java:7: 错误: 需要class, interface或enum
const int INF = 1e3+10;
^
0_0_17581481_14659\Main.java:9: 错误: 需要class, interface或enum
struct Par{
^
0_0_17581481_14659\Main.java:11: 错误: 需要class, interface或enum
	double v;
	^
0_0_17581481_14659\Main.java:12: 错误: 需要class, interface或enum
}p[maxn];
^
0_0_17581481_14659\Main.java:14: 错误: 需要class, interface或enum
bool C(int m, int n, double sum)
^
0_0_17581481_14659\Main.java:17: 错误: 需要class, interface或enum
	for(int i = 0; i < n; ++ i)
	^
0_0_17581481_14659\Main.java:17: 错误: 需要class, interface或enum
	for(int i = 0; i < n; ++ i)
	               ^
0_0_17581481_14659\Main.java:17: 错误: 需要class, interface或enum
	for(int i = 0; i < n; ++ i)
	                      ^
0_0_17581481_14659\Main.java:22: 错误: 需要class, interface或enum
		}
		^
0_0_17581481_14659\Main.java:24: 错误: 需要class, interface或enum
		tot += k*k*k*p[i].v;
		^
0_0_17581481_14659\Main.java:25: 错误: 需要class, interface或enum
	}
	^
0_0_17581481_14659\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_17581481_14659\Main.java:32: 错误: 需要class, interface或enum
	scanf("%d", &T);
	^
0_0_17581481_14659\Main.java:33: 错误: 需要class, interface或enum
	while(T--)
	^
0_0_17581481_14659\Main.java:36: 错误: 需要class, interface或enum
		scanf("%d", &n);
		^
0_0_17581481_14659\Main.java:37: 错误: 需要class, interface或enum
		double sum = 0;
		^
0_0_17581481_14659\Main.java:38: 错误: 需要class, interface或enum
		double ans = 0;
		^
0_0_17581481_14659\Main.java:39: 错误: 需要class, interface或enum
		for(int i = 0; i < n; ++ i)
		^
0_0_17581481_14659\Main.java:39: 错误: 需要class, interface或enum
		for(int i = 0; i < n; ++ i)
		               ^
0_0_17581481_14659\Main.java:39: 错误: 需要class, interface或enum
		for(int i = 0; i < n; ++ i)
		                      ^
0_0_17581481_14659\Main.java:42: 错误: 需要class, interface或enum
		}
		^
0_0_17581481_14659\Main.java:43: 错误: 需要class, interface或enum
		for(int i = 0; i < n; ++ i)
		               ^
0_0_17581481_14659\Main.java:43: 错误: 需要class, interface或enum
		for(int i = 0; i < n; ++ i)
		                      ^
0_0_17581481_14659\Main.java:46: 错误: 需要class, interface或enum
            p[i].v = p[i].w*p[i].w*p[i].h/3.0;
            ^
0_0_17581481_14659\Main.java:47: 错误: 需要class, interface或enum
            sum += p[i].v;
            ^
0_0_17581481_14659\Main.java:48: 错误: 需要class, interface或enum
        }
        ^
0_0_17581481_14659\Main.java:50: 错误: 需要class, interface或enum
		while(r - l > 1)
		^
0_0_17581481_14659\Main.java:53: 错误: 需要class, interface或enum
			if(C(m, n, sum))
			^
0_0_17581481_14659\Main.java:56: 错误: 需要class, interface或enum
			}
			^
0_0_17581481_14659\Main.java:60: 错误: 需要class, interface或enum
			}
			^
0_0_17581481_14659\Main.java:63: 错误: 需要class, interface或enum
	}
	^
0_0_17581481_14659\Main.java:65: 错误: 需要class, interface或enum
}
^
36 个错误


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 05:41:02, Gzip enabled