0_0_38921533_11365.cpp: In function 'void build(ll, ll, ll)':
0_0_38921533_11365.cpp:20:16: error: expected initializer before 'l'
20 | ll mid l + r >> 1;
| ^
0_0_38921533_11365.cpp:21:21: error: 'mid' was not declared in this scope
21 | xds[x]={l,r,mid,0};
| ^~~
0_0_38921533_11365.cpp:21:26: error: no match for 'operator=' (operand types are 'node' and '<brace-enclosed initializer list>')
21 | xds[x]={l,r,mid,0};
| ^
0_0_38921533_11365.cpp:15:8: note: candidate: 'constexpr node& node::operator=(const node&)'
15 | struct node{
| ^~~~
0_0_38921533_11365.cpp:15:8: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const node&'
0_0_38921533_11365.cpp:15:8: note: candidate: 'constexpr node& node::operator=(node&&)'
0_0_38921533_11365.cpp:15:8: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'node&&'
0_0_38921533_11365.cpp:27:14: error: too few arguments to function 'void build(ll, ll, ll)'
27 | build()
| ~~~~~^~
0_0_38921533_11365.cpp:19:6: note: declared here
19 | void build(ll l,ll r,ll x){
| ^~~~~
0_0_38921533_11365.cpp: In function 'void solve()':
0_0_38921533_11365.cpp:39:19: error: 'yx' was not declared in this scope; did you mean 'yv'?
39 | sort(yv+1,yx+1+n);
| ^~
| yv
0_0_38921533_11365.cpp:40:23: error: invalid conversion from 'long long int*' to 'll' {aka 'long long int'} [-fpermissive]
40 | ll cx = unique(xv+1,xv+1+n),cy = unique(yv+1,yv+1+n);
| ~~~~~~^~~~~~~~~~~~~
| |
| long long int*
0_0_38921533_11365.cpp:40:48: error: invalid conversion from 'long long int*' to 'll' {aka 'long long int'} [-fpermissive]
40 | ll cx = unique(xv+1,xv+1+n),cy = unique(yv+1,yv+1+n);
| ~~~~~~^~~~~~~~~~~~~
| |
| long long int*
|