0_0_32779812_17216.cpp:5:9: error: 'll' does not name a type
typedef ll long long;
^
0_0_32779812_17216.cpp:8:2: error: 'll' does not name a type
ll x;
^
0_0_32779812_17216.cpp:9:2: error: 'll' does not name a type
ll y;
^
0_0_32779812_17216.cpp: In function 'bool cmp1(const node&, const node&)':
0_0_32779812_17216.cpp:15:12: error: 'const struct node' has no member named 'x'
return a.x<=b.x;
^
0_0_32779812_17216.cpp:15:17: error: 'const struct node' has no member named 'x'
return a.x<=b.x;
^
0_0_32779812_17216.cpp: In function 'bool cmp2(const node&, const node&)':
0_0_32779812_17216.cpp:20:12: error: 'const struct node' has no member named 'y'
return a.y<=b.y;
^
0_0_32779812_17216.cpp:20:17: error: 'const struct node' has no member named 'y'
return a.y<=b.y;
^
0_0_32779812_17216.cpp: At global scope:
0_0_32779812_17216.cpp:24:1: error: 'll' does not name a type
ll xrank[maxn],yrank[maxn];
^
0_0_32779812_17216.cpp:25:1: error: 'll' does not name a type
ll ans;
^
0_0_32779812_17216.cpp:26:1: error: 'll' does not name a type
ll tree[2][maxn];//tree[0][x]存放1-x元素的个数,tree[1][x]存放1-x元素的和
^
0_0_32779812_17216.cpp:29:10: error: variable or field 'add' declared void
void add(ll x,ll i,int f){
^
0_0_32779812_17216.cpp:29:10: error: 'll' was not declared in this scope
0_0_32779812_17216.cpp:29:15: error: 'll' was not declared in this scope
void add(ll x,ll i,int f){
^
0_0_32779812_17216.cpp:29:20: error: expected primary-expression before 'int'
void add(ll x,ll i,int f){
^
|