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_25373429_18361\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_25373429_18361\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_25373429_18361\Main.java:2: 错误: 非法字符: '#'
#define ll long long
^
0_0_25373429_18361\Main.java:3: 错误: 非法字符: '#'
#define pb push_back
^
0_0_25373429_18361\Main.java:4: 错误: 非法字符: '#'
#define db double
^
0_0_25373429_18361\Main.java:6: 错误: 需要class, interface或enum
const int N=51000;
^
0_0_25373429_18361\Main.java:7: 错误: 需要class, interface或enum
const ll INF=0x3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f;
^
0_0_25373429_18361\Main.java:8: 错误: 需要class, interface或enum
struct Node{
^
0_0_25373429_18361\Main.java:10: 错误: 需要class, interface或enum
	bool operator <(const Node &a)const{
	^
0_0_25373429_18361\Main.java:12: 错误: 需要class, interface或enum
		return h>a.h;
		^
0_0_25373429_18361\Main.java:13: 错误: 需要class, interface或enum
	}
	^
0_0_25373429_18361\Main.java:15: 错误: 需要class, interface或enum
struct node{
^
0_0_25373429_18361\Main.java:17: 错误: 需要class, interface或enum
};
^
0_0_25373429_18361\Main.java:18: 错误: 需要class, interface或enum
int n,k;
^
0_0_25373429_18361\Main.java:19: 错误: 需要class, interface或enum
Node tmp[N],A[N];
^
0_0_25373429_18361\Main.java:20: 错误: 需要class, interface或enum
int m;
^
0_0_25373429_18361\Main.java:21: 错误: 需要class, interface或enum
ll dp[110][N];
^
0_0_25373429_18361\Main.java:22: 错误: 需要class, interface或enum
node Q[N];
^
0_0_25373429_18361\Main.java:23: 错误: 需要class, interface或enum
int head,tail;
^
0_0_25373429_18361\Main.java:24: 错误: 需要class, interface或enum
bool Judge(node a,node b,node c){
^
0_0_25373429_18361\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_25373429_18361\Main.java:31: 错误: 需要class, interface或enum
		for(int i=0;i<=k;i++) for(int j=0;j<=n;j++) dp[i][j]=INF;
		            ^
0_0_25373429_18361\Main.java:31: 错误: 需要class, interface或enum
		for(int i=0;i<=k;i++) for(int j=0;j<=n;j++) dp[i][j]=INF;
		                 ^
0_0_25373429_18361\Main.java:31: 错误: 需要class, interface或enum
		for(int i=0;i<=k;i++) for(int j=0;j<=n;j++) dp[i][j]=INF;
		                                  ^
0_0_25373429_18361\Main.java:31: 错误: 需要class, interface或enum
		for(int i=0;i<=k;i++) for(int j=0;j<=n;j++) dp[i][j]=INF;
		                                       ^
0_0_25373429_18361\Main.java:32: 错误: 需要class, interface或enum
		m=0;
		^
0_0_25373429_18361\Main.java:33: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++) scanf("%d %d",&tmp[i].w,&tmp[i].h);
		^
0_0_25373429_18361\Main.java:33: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++) scanf("%d %d",&tmp[i].w,&tmp[i].h);
		            ^
0_0_25373429_18361\Main.java:33: 错误: 需要class, interface或enum
		for(int i=1;i<=n;i++) scanf("%d %d",&tmp[i].w,&tmp[i].h);
		                 ^
0_0_25373429_18361\Main.java:34: 错误: 需要class, interface或enum
		sort(tmp+1,tmp+n+1);
		^
0_0_25373429_18361\Main.java:35: 错误: 需要class, interface或enum
		A[++m]=tmp[1];
		^
0_0_25373429_18361\Main.java:36: 错误: 需要class, interface或enum
		for(int i=2;i<=n;i++) if(tmp[i].h>A[m].h) A[++m]=tmp[i];
		^
0_0_25373429_18361\Main.java:36: 错误: 需要class, interface或enum
		for(int i=2;i<=n;i++) if(tmp[i].h>A[m].h) A[++m]=tmp[i];
		            ^
0_0_25373429_18361\Main.java:36: 错误: 需要class, interface或enum
		for(int i=2;i<=n;i++) if(tmp[i].h>A[m].h) A[++m]=tmp[i];
		                 ^
0_0_25373429_18361\Main.java:39: 错误: 需要class, interface或enum
		reverse(A+1,A+m+1);
		^
0_0_25373429_18361\Main.java:40: 错误: 需要class, interface或enum
		ll ans=INF;
		^
0_0_25373429_18361\Main.java:41: 错误: 需要class, interface或enum
		for(int i=1;i<=m;i++) dp[1][i]=A[i].w*A[1].h;
		^
0_0_25373429_18361\Main.java:41: 错误: 需要class, interface或enum
		for(int i=1;i<=m;i++) dp[1][i]=A[i].w*A[1].h;
		            ^
0_0_25373429_18361\Main.java:41: 错误: 需要class, interface或enum
		for(int i=1;i<=m;i++) dp[1][i]=A[i].w*A[1].h;
		                 ^
0_0_25373429_18361\Main.java:42: 错误: 需要class, interface或enum
		ans=dp[1][m];
		^
0_0_25373429_18361\Main.java:43: 错误: 需要class, interface或enum
		for(int i=2;i<=k;i++){
		^
0_0_25373429_18361\Main.java:43: 错误: 需要class, interface或enum
		for(int i=2;i<=k;i++){
		            ^
0_0_25373429_18361\Main.java:43: 错误: 需要class, interface或enum
		for(int i=2;i<=k;i++){
		                 ^
0_0_25373429_18361\Main.java:45: 错误: 需要class, interface或enum
			dp[i][1]=dp[i-1][1];
			^
0_0_25373429_18361\Main.java:46: 错误: 需要class, interface或enum
			Q[++tail]=(node){A[2].h,dp[i-1][1]};
			^
0_0_25373429_18361\Main.java:47: 错误: 需要class, interface或enum
			for(int j=2;j<=m;j++){
			^
0_0_25373429_18361\Main.java:47: 错误: 需要class, interface或enum
			for(int j=2;j<=m;j++){
			            ^
0_0_25373429_18361\Main.java:47: 错误: 需要class, interface或enum
			for(int j=2;j<=m;j++){
			                 ^
0_0_25373429_18361\Main.java:50: 错误: 需要class, interface或enum
				}
				^
0_0_25373429_18361\Main.java:52: 错误: 需要class, interface或enum
				if(j<m){
				^
0_0_25373429_18361\Main.java:55: 错误: 需要class, interface或enum
					}
					^
0_0_25373429_18361\Main.java:57: 错误: 需要class, interface或enum
				}
				^
0_0_25373429_18361\Main.java:60: 错误: 需要class, interface或enum
			else ans=dp[i][m];
			^
0_0_25373429_18361\Main.java:61: 错误: 需要class, interface或enum
		}
		^
0_0_25373429_18361\Main.java:63: 错误: 需要class, interface或enum
	}
	^
0_0_25373429_18361\Main.java:65: 错误: 需要class, interface或enum
}
^
56 个错误


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-29 21:04:55, Gzip enabled