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_30101369_19603\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_30101369_19603\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_30101369_19603\Main.java:3: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_30101369_19603\Main.java:4: 错误: 需要class, interface或enum
const int M = 1e5 + 5;
^
0_0_30101369_19603\Main.java:5: 错误: 需要class, interface或enum
const LL mod = 998244353;
^
0_0_30101369_19603\Main.java:6: 错误: 需要class, interface或enum
const LL lINF = 0x3f3f3f3f3f3f3f3f;
^
0_0_30101369_19603\Main.java:7: 错误: 需要class, interface或enum
int lson[M*20], rson[M*20], sum[M*20];
^
0_0_30101369_19603\Main.java:8: 错误: 需要class, interface或enum
int a[M], b[M];
^
0_0_30101369_19603\Main.java:9: 错误: 需要class, interface或enum
int mp[M];
^
0_0_30101369_19603\Main.java:10: 错误: 需要class, interface或enum
int n, m, tot;
^
0_0_30101369_19603\Main.java:11: 错误: 需要class, interface或enum
int t;
^
0_0_30101369_19603\Main.java:12: 错误: 需要class, interface或enum
int root[M];
^
0_0_30101369_19603\Main.java:13: 错误: 需要class, interface或enum
int build(int l, int r)
^
0_0_30101369_19603\Main.java:16: 错误: 需要class, interface或enum
	sum[rt] = 0;
	^
0_0_30101369_19603\Main.java:17: 错误: 需要class, interface或enum
	if (l != r)
	^
0_0_30101369_19603\Main.java:20: 错误: 需要class, interface或enum
		lson[rt] = build(l, mid);
		^
0_0_30101369_19603\Main.java:21: 错误: 需要class, interface或enum
		rson[rt] = build(mid + 1, r);
		^
0_0_30101369_19603\Main.java:22: 错误: 需要class, interface或enum
	}
	^
0_0_30101369_19603\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_30101369_19603\Main.java:28: 错误: 需要class, interface或enum
	sum[rt] = sum[lrt] + v;
	^
0_0_30101369_19603\Main.java:29: 错误: 需要class, interface或enum
	lson[rt] = lson[lrt];
	^
0_0_30101369_19603\Main.java:30: 错误: 需要class, interface或enum
	rson[rt] = rson[lrt];
	^
0_0_30101369_19603\Main.java:31: 错误: 需要class, interface或enum
	if (l == r)
	^
0_0_30101369_19603\Main.java:33: 错误: 需要class, interface或enum
	int mid = (l + r) >> 1;
	^
0_0_30101369_19603\Main.java:34: 错误: 需要class, interface或enum
	if (x <= mid)
	^
0_0_30101369_19603\Main.java:37: 错误: 需要class, interface或enum
	}
	^
0_0_30101369_19603\Main.java:41: 错误: 需要class, interface或enum
	}
	^
0_0_30101369_19603\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_30101369_19603\Main.java:48: 错误: 需要class, interface或enum
	int mid = (l + r) >> 1, ans = 0;
	^
0_0_30101369_19603\Main.java:49: 错误: 需要class, interface或enum
	if (x <= mid)
	^
0_0_30101369_19603\Main.java:52: 错误: 需要class, interface或enum
	}
	^
0_0_30101369_19603\Main.java:56: 错误: 需要class, interface或enum
		ans += query(rson[lr], rson[rr], mid + 1, r, x);
		^
0_0_30101369_19603\Main.java:57: 错误: 需要class, interface或enum
	}
	^
0_0_30101369_19603\Main.java:62: 错误: 需要class, interface或enum
	for (int cas = 1; cas <= t; cas++)
	^
0_0_30101369_19603\Main.java:62: 错误: 需要class, interface或enum
	for (int cas = 1; cas <= t; cas++)
	                  ^
0_0_30101369_19603\Main.java:62: 错误: 需要class, interface或enum
	for (int cas = 1; cas <= t; cas++)
	                            ^
0_0_30101369_19603\Main.java:65: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		^
0_0_30101369_19603\Main.java:65: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		                ^
0_0_30101369_19603\Main.java:65: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		                        ^
0_0_30101369_19603\Main.java:68: 错误: 需要class, interface或enum
			b[i] = a[i];
			^
0_0_30101369_19603\Main.java:69: 错误: 需要class, interface或enum
		}
		^
0_0_30101369_19603\Main.java:71: 错误: 需要class, interface或enum
		int size = unique(b + 1, b + 1 + n) - b - 1;
		^
0_0_30101369_19603\Main.java:72: 错误: 需要class, interface或enum
		for (int i = 1; i <= size; i++)
		^
0_0_30101369_19603\Main.java:72: 错误: 需要class, interface或enum
		for (int i = 1; i <= size; i++)
		                ^
0_0_30101369_19603\Main.java:72: 错误: 需要class, interface或enum
		for (int i = 1; i <= size; i++)
		                           ^
0_0_30101369_19603\Main.java:75: 错误: 需要class, interface或enum
		}
		^
0_0_30101369_19603\Main.java:77: 错误: 需要class, interface或enum
		root[0] = build(1, size);
		^
0_0_30101369_19603\Main.java:78: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		^
0_0_30101369_19603\Main.java:78: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		                ^
0_0_30101369_19603\Main.java:78: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		                        ^
0_0_30101369_19603\Main.java:81: 错误: 需要class, interface或enum
		}
		^
0_0_30101369_19603\Main.java:85: 错误: 需要class, interface或enum
			scanf("%d%d%d", &l, &r, &q);
			^
0_0_30101369_19603\Main.java:86: 错误: 需要class, interface或enum
			l++, r++;
			^
0_0_30101369_19603\Main.java:87: 错误: 需要class, interface或enum
			int x = upper_bound(b + 1, b + 1 + size, q) - b - 1;
			^
0_0_30101369_19603\Main.java:88: 错误: 需要class, interface或enum
			if (!x)
			^
0_0_30101369_19603\Main.java:91: 错误: 需要class, interface或enum
			}
			^
0_0_30101369_19603\Main.java:95: 错误: 需要class, interface或enum
			}
			^
57 个错误


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-12-03 16:52:57, Gzip enabled