sails.cpp:3:22: error: extended character is not valid in an identifier
3 | using namespace std;
| ^
sails.cpp:4:1: error: extended character is not valid in an identifier
4 |
| ^
sails.cpp:27:27: error: extended character is not valid in an identifier
27 | return Get(2*v+1, l, mid, ind)+Get(2*v+2, mid+1, r, ind);
| ^
sails.cpp:39:3: error: extended character is not valid in an identifier
39 | }
| ^
sails.cpp:76:26: error: extended character is not valid in an identifier
76 | Update(0, 0, N-1, mnind, mnind+a[i].S-a[i].F+mxind);
| ^
sails.cpp:3:22: error: '\U000000a0' does not name a type
3 | using namespace std;
| ^
sails.cpp:11:10: error: 'N' was not declared in this scope
11 | int st[4*N];
| ^
sails.cpp: In function 'void Push(long long int)':
sails.cpp:14:5: error: 'st' was not declared in this scope; did you mean 'std'?
14 | if(!st[v])return;
| ^~
| std
sails.cpp:17:1: error: 'st' was not declared in this scope; did you mean 'std'?
17 | st[lc]+=st[v];
| ^~
| std
sails.cpp: In function 'long long int Get(long long int, long long int, long long int, long long int)':
sails.cpp:24:16: error: 'st' was not declared in this scope; did you mean 'std'?
24 | if(l==r)return st[v];
| ^~
| std
sails.cpp:26:10: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
26 | int mid=l+r>>1;
| ~^~
sails.cpp:27:27: error: '\U000000a0ind' was not declared in this scope; did you mean 'ind'?
27 | return Get(2*v+1, l, mid, ind)+Get(2*v+2, mid+1, r, ind);
| ^~~~
| ind
sails.cpp: In function 'void Update(long long int, long long int, long long int, long long int, long long int)':
sails.cpp:32:1: error: 'st' was not declared in this scope; did you mean 'std'?
32 | st[v]++;
| ^~
| std
sails.cpp:36:10: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
36 | int mid=l+r>>1;
| ~^~
sails.cpp: At global scope:
sails.cpp:39:3: error: '\U000000a0' does not name a type
39 | }
| ^