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_19251183_4934\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_19251183_4934\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_19251183_4934\Main.java:2: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_19251183_4934\Main.java:3: 错误: 非法字符: '#'
#include<string.h>
^
0_0_19251183_4934\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_19251183_4934\Main.java:8: 错误: 需要class, interface或enum
struct Herb
^
0_0_19251183_4934\Main.java:11: 错误: 需要class, interface或enum
	double r;
	^
0_0_19251183_4934\Main.java:12: 错误: 需要class, interface或enum
}herb[105];
^
0_0_19251183_4934\Main.java:14: 错误: 需要class, interface或enum
long long Max(long long  a, long long  b)
^
0_0_19251183_4934\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_19251183_4934\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_19251183_4934\Main.java:25: 错误: 需要class, interface或enum
bool check(long long k, long long tt, long long vv)
^
0_0_19251183_4934\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_19251183_4934\Main.java:35: 错误: 需要class, interface或enum
	if (k < n && check(k, tt, vv))
	^
0_0_19251183_4934\Main.java:39: 错误: 需要class, interface或enum
		slove(k + 1, tt, vv);
		^
0_0_19251183_4934\Main.java:40: 错误: 需要class, interface或enum
	}
	^
0_0_19251183_4934\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_19251183_4934\Main.java:51: 错误: 需要class, interface或enum
	long long k = 0;
	^
0_0_19251183_4934\Main.java:52: 错误: 需要class, interface或enum
	while (scanf("%lld%lld", &n, &tl) == 2)
	^
0_0_19251183_4934\Main.java:55: 错误: 需要class, interface或enum
		ans = 0;
		^
0_0_19251183_4934\Main.java:56: 错误: 需要class, interface或enum
		for (i = 0; i < n; i++)
		^
0_0_19251183_4934\Main.java:56: 错误: 需要class, interface或enum
		for (i = 0; i < n; i++)
		            ^
0_0_19251183_4934\Main.java:56: 错误: 需要class, interface或enum
		for (i = 0; i < n; i++)
		                   ^
0_0_19251183_4934\Main.java:59: 错误: 需要class, interface或enum
			if (x <= tl)
			^
0_0_19251183_4934\Main.java:62: 错误: 需要class, interface或enum
				k++;
				^
0_0_19251183_4934\Main.java:63: 错误: 需要class, interface或enum
			}
			^
0_0_19251183_4934\Main.java:66: 错误: 需要class, interface或enum
		sort(herb, herb + n, cmp);
		^
0_0_19251183_4934\Main.java:68: 错误: 需要class, interface或enum
		peng();
		^
0_0_19251183_4934\Main.java:69: 错误: 需要class, interface或enum
		cout << ans << endl;
		^
0_0_19251183_4934\Main.java:70: 错误: 需要class, interface或enum
	}
	^
0_0_19251183_4934\Main.java:72: 错误: 需要class, interface或enum
}
^
31 个错误


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