0_0_36214369_20933\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_36214369_20933\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_36214369_20933\Main.java:4: 错误: 需要class, interface或enum
const int N = 1e5 + 10;
^
0_0_36214369_20933\Main.java:5: 错误: 需要class, interface或enum
struct {
^
0_0_36214369_20933\Main.java:7: 错误: 需要class, interface或enum
int r;
^
0_0_36214369_20933\Main.java:8: 错误: 需要class, interface或enum
int x;
^
0_0_36214369_20933\Main.java:9: 错误: 需要class, interface或enum
}a[N];
^
0_0_36214369_20933\Main.java:10: 错误: 需要class, interface或enum
int tot;
^
0_0_36214369_20933\Main.java:11: 错误: 需要class, interface或enum
string s;
^
0_0_36214369_20933\Main.java:13: 错误: 需要class, interface或enum
int create(int x){
^
0_0_36214369_20933\Main.java:15: 错误: 需要class, interface或enum
a[tot].l = 0;
^
0_0_36214369_20933\Main.java:16: 错误: 需要class, interface或enum
a[tot].r = 0;
^
0_0_36214369_20933\Main.java:17: 错误: 需要class, interface或enum
return tot;
^
0_0_36214369_20933\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_36214369_20933\Main.java:22: 错误: 需要class, interface或enum
else if(x < a[p].x){
^
0_0_36214369_20933\Main.java:24: 错误: 需要class, interface或enum
return p;
^
0_0_36214369_20933\Main.java:25: 错误: 需要class, interface或enum
}else if(x > a[p].x) {
^
0_0_36214369_20933\Main.java:27: 错误: 需要class, interface或enum
return p;
^
0_0_36214369_20933\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_36214369_20933\Main.java:33: 错误: 需要class, interface或enum
s.push_back(a[p].x + '0');
^
0_0_36214369_20933\Main.java:34: 错误: 需要class, interface或enum
first(a[p].l);
^
0_0_36214369_20933\Main.java:35: 错误: 需要class, interface或enum
first(a[p].r);
^
0_0_36214369_20933\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_36214369_20933\Main.java:40: 错误: 需要class, interface或enum
cin >> n;
^
0_0_36214369_20933\Main.java:41: 错误: 需要class, interface或enum
cin >> x;
^
0_0_36214369_20933\Main.java:42: 错误: 需要class, interface或enum
create(x);
^
0_0_36214369_20933\Main.java:43: 错误: 需要class, interface或enum
n--;
^
0_0_36214369_20933\Main.java:44: 错误: 需要class, interface或enum
while(n--){
^
0_0_36214369_20933\Main.java:46: 错误: 需要class, interface或enum
insert(1, x);
^
0_0_36214369_20933\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_36214369_20933\Main.java:49: 错误: 需要class, interface或enum
for(int i = 0; i < s.size(); i++){
^
0_0_36214369_20933\Main.java:49: 错误: 需要class, interface或enum
for(int i = 0; i < s.size(); i++){
^
0_0_36214369_20933\Main.java:49: 错误: 需要class, interface或enum
for(int i = 0; i < s.size(); i++){
^
0_0_36214369_20933\Main.java:51: 错误: 需要class, interface或enum
cout << s[i];
^
0_0_36214369_20933\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_36214369_20933\Main.java:54: 错误: 需要class, interface或enum
}
^
36 个错误
|