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_34103903_15491\Main.java:1: 错误: 需要class, interface或enum
1 const int maxn=100001;
^
0_0_34103903_15491\Main.java:1: 错误: 需要class, interface或enum
1 const int maxn=100001;
  ^
0_0_34103903_15491\Main.java:1: 错误: 需要class, interface或enum
1 const int maxn=100001;
        ^
0_0_34103903_15491\Main.java:1: 错误: 需要class, interface或enum
1 const int maxn=100001;
            ^
0_0_34103903_15491\Main.java:2: 错误: 需要class, interface或enum
 2 struct Node{
 ^
0_0_34103903_15491\Main.java:4: 错误: 需要class, interface或enum
 4     int cnt;
 ^
0_0_34103903_15491\Main.java:5: 错误: 需要class, interface或enum
 5 }tr[maxn*20];
 ^
0_0_34103903_15491\Main.java:6: 错误: 需要class, interface或enum
 6 int cur,rt[maxn];
 ^
0_0_34103903_15491\Main.java:7: 错误: 需要class, interface或enum
 7 void init(){
 ^
0_0_34103903_15491\Main.java:9: 错误: 需要class, interface或enum
 9 }
 ^
0_0_34103903_15491\Main.java:12: 错误: 需要class, interface或enum
12 }
^
0_0_34103903_15491\Main.java:15: 错误: 需要class, interface或enum
15     if (l==r) {
^
0_0_34103903_15491\Main.java:17: 错误: 需要class, interface或enum
17         return k;
^
0_0_34103903_15491\Main.java:18: 错误: 需要class, interface或enum
18     }
^
0_0_34103903_15491\Main.java:20: 错误: 需要class, interface或enum
20     tr[k].ls=build(l,mid);
^
0_0_34103903_15491\Main.java:21: 错误: 需要class, interface或enum
21     tr[k].rs=build(mid+1,r);
^
0_0_34103903_15491\Main.java:22: 错误: 需要class, interface或enum
22     push_up(k);
^
0_0_34103903_15491\Main.java:23: 错误: 需要class, interface或enum
23     return k;
^
0_0_34103903_15491\Main.java:24: 错误: 需要class, interface或enum
24 }
^
0_0_34103903_15491\Main.java:27: 错误: 需要class, interface或enum
27     tr[k]=tr[o];
^
0_0_34103903_15491\Main.java:28: 错误: 需要class, interface或enum
28     if (l==pos&&r==pos){
^
0_0_34103903_15491\Main.java:30: 错误: 需要class, interface或enum
30         return k;
^
0_0_34103903_15491\Main.java:31: 错误: 需要class, interface或enum
31     }
^
0_0_34103903_15491\Main.java:33: 错误: 需要class, interface或enum
33     if (pos<=mid) tr[k].ls=update(tr[o].ls,l,mid,pos,val);
^
0_0_34103903_15491\Main.java:34: 错误: 需要class, interface或enum
34     else tr[k].rs=update(tr[o].rs,mid+1,r,pos,val);
^
0_0_34103903_15491\Main.java:35: 错误: 需要class, interface或enum
35     push_up(k);
^
0_0_34103903_15491\Main.java:36: 错误: 需要class, interface或enum
36     return k;
^
0_0_34103903_15491\Main.java:37: 错误: 需要class, interface或enum
37 }
^
0_0_34103903_15491\Main.java:40: 错误: 需要class, interface或enum
40     int mid=(l+r)>>1;
^
0_0_34103903_15491\Main.java:41: 错误: 需要class, interface或enum
41     int res=tr[tr[v].ls].cnt-tr[tr[o].ls].cnt;
^
0_0_34103903_15491\Main.java:42: 错误: 需要class, interface或enum
42     if (kth<=res) return query(l,mid,tr[o].ls,tr[v].ls,kth);
^
0_0_34103903_15491\Main.java:43: 错误: 需要class, interface或enum
43     else return query(mid+1,r,tr[o].rs,tr[v].rs,kth-res);
^
0_0_34103903_15491\Main.java:44: 错误: 需要class, interface或enum
44 }
^
33 个错误


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-25 08:26:01, Gzip enabled