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_34477332_17001\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_34477332_17001\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_34477332_17001\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_34477332_17001\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_34477332_17001\Main.java:4: 错误: 非法字符: '#'
#include <queue>
^
0_0_34477332_17001\Main.java:8: 错误: 非法字符: '#'
#define ll long long
^
0_0_34477332_17001\Main.java:8: 错误: 需要class, interface或enum
#define ll long long
        ^
0_0_34477332_17001\Main.java:9: 错误: 非法字符: '#'
#define pb push_back
^
0_0_34477332_17001\Main.java:10: 错误: 非法字符: '#'
#define lson(rt) (rt << 1)
^
0_0_34477332_17001\Main.java:11: 错误: 非法字符: '#'
#define rson(rt) (rt << 1 | 1)
^
0_0_34477332_17001\Main.java:12: 错误: 非法字符: '#'
#define fi first
^
0_0_34477332_17001\Main.java:13: 错误: 非法字符: '#'
#define se second
^
0_0_34477332_17001\Main.java:16: 错误: 需要class, interface或enum
struct node
^
0_0_34477332_17001\Main.java:19: 错误: 需要class, interface或enum
	int mid() { return (l + r) >> 1; }
	^
0_0_34477332_17001\Main.java:19: 错误: 需要class, interface或enum
	int mid() { return (l + r) >> 1; }
	                                 ^
0_0_34477332_17001\Main.java:20: 错误: 需要class, interface或enum
	inline void init(int l, int r) { this -> l = l; this -> r = r; inx = 100000; }
	                                                ^
0_0_34477332_17001\Main.java:20: 错误: 需要class, interface或enum
	inline void init(int l, int r) { this -> l = l; this -> r = r; inx = 100000; }
	                                                               ^
0_0_34477332_17001\Main.java:20: 错误: 需要class, interface或enum
	inline void init(int l, int r) { this -> l = l; this -> r = r; inx = 100000; }
	                                                                             ^
0_0_34477332_17001\Main.java:22: 错误: 需要class, interface或enum
int a[N], f[N];
^
0_0_34477332_17001\Main.java:24: 错误: 需要class, interface或enum
void Build(int rt, int l, int r)
^
0_0_34477332_17001\Main.java:28: 错误: 需要class, interface或enum
	if(l == r) return ;
	^
0_0_34477332_17001\Main.java:29: 错误: 需要class, interface或enum
	Build(lson(rt), l, tree[rt].mid());
	^
0_0_34477332_17001\Main.java:30: 错误: 需要class, interface或enum
	Build(rson(rt), tree[rt].mid() + 1, r);
	^
0_0_34477332_17001\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_34477332_17001\Main.java:40: 错误: 需要class, interface或enum
	if(v > tree[rt].mid() && pre >= tree[rson(rt)].inx) {
	^
0_0_34477332_17001\Main.java:42: 错误: 需要class, interface或enum
	} else if(v <= tree[rt].mid() && pre >= tree[lson(rt)].inx) {
	^
0_0_34477332_17001\Main.java:44: 错误: 需要class, interface或enum
	} else if(v >= tree[rt].mid() && pre >= tree[lson(rt)].inx){
	^
0_0_34477332_17001\Main.java:46: 错误: 需要class, interface或enum
	} else return make_pair(0, 0);
	^
0_0_34477332_17001\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_34477332_17001\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_34477332_17001\Main.java:59: 错误: 需要class, interface或enum
		return ;
		^
0_0_34477332_17001\Main.java:60: 错误: 需要class, interface或enum
	}
	^
0_0_34477332_17001\Main.java:64: 错误: 需要class, interface或enum
	} else if(tree[rt].mid() < v) {
	^
0_0_34477332_17001\Main.java:66: 错误: 需要class, interface或enum
	}
	^
0_0_34477332_17001\Main.java:69: 错误: 需要class, interface或enum
}
^
0_0_34477332_17001\Main.java:74: 错误: 需要class, interface或enum
	while(~scanf("%d%d", &n, &d)) {
	^
0_0_34477332_17001\Main.java:76: 错误: 需要class, interface或enum
		for(int i = 1; i <= n; ++i) {
		               ^
0_0_34477332_17001\Main.java:76: 错误: 需要class, interface或enum
		for(int i = 1; i <= n; ++i) {
		                       ^
0_0_34477332_17001\Main.java:78: 错误: 需要class, interface或enum
			a[i]++;
			^
0_0_34477332_17001\Main.java:79: 错误: 需要class, interface或enum
		}
		^
0_0_34477332_17001\Main.java:80: 错误: 需要class, interface或enum
		for(int i = 1; i <= 100001; ++i) {
		               ^
0_0_34477332_17001\Main.java:80: 错误: 需要class, interface或enum
		for(int i = 1; i <= 100001; ++i) {
		                            ^
0_0_34477332_17001\Main.java:82: 错误: 需要class, interface或enum
		}
		^
0_0_34477332_17001\Main.java:86: 错误: 需要class, interface或enum
		for(int i = 1; i <= n; ++i) {
		^
0_0_34477332_17001\Main.java:86: 错误: 需要class, interface或enum
		for(int i = 1; i <= n; ++i) {
		               ^
0_0_34477332_17001\Main.java:86: 错误: 需要class, interface或enum
		for(int i = 1; i <= n; ++i) {
		                       ^
0_0_34477332_17001\Main.java:88: 错误: 需要class, interface或enum
			pair<int ,int > v, w;
			^
0_0_34477332_17001\Main.java:89: 错误: 需要class, interface或enum
			if(pre >= 1) {
			^
0_0_34477332_17001\Main.java:91: 错误: 需要class, interface或enum
				v = Search(1, 1, 100001, a[i] - 1, pre);
				^
0_0_34477332_17001\Main.java:92: 错误: 需要class, interface或enum
				printf("v = %d  fv = %d\n", v.fi, f[v.fi]);
				^
0_0_34477332_17001\Main.java:94: 错误: 需要class, interface或enum
                Update(1, 1, 100001, v.fi, 100001);
                ^
0_0_34477332_17001\Main.java:95: 错误: 需要class, interface或enum
			}
			^
0_0_34477332_17001\Main.java:98: 错误: 需要class, interface或enum
                printf("w = %d  fw = %d\n", w.fi, f[w.fi]);
                ^
0_0_34477332_17001\Main.java:99: 错误: 需要class, interface或enum
            }
            ^
0_0_34477332_17001\Main.java:102: 错误: 需要class, interface或enum
                f[v.fi] = f[w.fi];
                ^
0_0_34477332_17001\Main.java:103: 错误: 需要class, interface或enum
                Update(1, 1, 100001, v.fi, w.se);
                ^
0_0_34477332_17001\Main.java:104: 错误: 需要class, interface或enum
			} else if(){
			^
0_0_34477332_17001\Main.java:111: 错误: 需要class, interface或enum
			if(v.fi == 0 && !f[a[i]]) {
			^
0_0_34477332_17001\Main.java:114: 错误: 需要class, interface或enum
				flag = 1;
				^
0_0_34477332_17001\Main.java:115: 错误: 需要class, interface或enum
			} else if(f[a[i]] < f[v.fi] + 1) {
			^
0_0_34477332_17001\Main.java:118: 错误: 需要class, interface或enum
				flag = 1;
				^
0_0_34477332_17001\Main.java:119: 错误: 需要class, interface或enum
			}
			^
0_0_34477332_17001\Main.java:123: 错误: 需要class, interface或enum
			}
			^
0_0_34477332_17001\Main.java:128: 错误: 需要class, interface或enum
		for(int i = 1; i <= 100001; ++i) Max_len = max(Max_len, f[i]);
		^
0_0_34477332_17001\Main.java:128: 错误: 需要class, interface或enum
		for(int i = 1; i <= 100001; ++i) Max_len = max(Max_len, f[i]);
		               ^
0_0_34477332_17001\Main.java:128: 错误: 需要class, interface或enum
		for(int i = 1; i <= 100001; ++i) Max_len = max(Max_len, f[i]);
		                            ^
0_0_34477332_17001\Main.java:130: 错误: 需要class, interface或enum
		printf("%d\n", Max_len);
		^
0_0_34477332_17001\Main.java:131: 错误: 需要class, interface或enum
	}
	^
0_0_34477332_17001\Main.java:138: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_34477332_17001\Main.java:139: 错误: 需要class, interface或enum
}
^
70 个错误


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-30 00:05:15, Gzip enabled