teams.cpp:9:5: error: 'll' does not name a type
9 | ll l, r;
| ^~
teams.cpp:11:15: error: expected ')' before '_l'
11 | segment(ll _l = 0, ll _r = 0)
| ~ ^~~
| )
teams.cpp:18:7: error: 'll' does not name a type
18 | const ll maxn = 5e5 + 10;
| ^~
teams.cpp:20:1: error: 'll' does not name a type
20 | ll n;
| ^~
teams.cpp:21:11: error: 'maxn' was not declared in this scope
21 | segment s[maxn];
| ^~~~
teams.cpp:22:6: error: variable or field 'init' declared void
22 | void init(ll N, ll A[], ll B[])
| ^~~~
teams.cpp:22:11: error: 'll' was not declared in this scope
22 | void init(ll N, ll A[], ll B[])
| ^~
teams.cpp:22:17: error: 'll' was not declared in this scope
22 | void init(ll N, ll A[], ll B[])
| ^~
teams.cpp:22:25: error: 'll' was not declared in this scope
22 | void init(ll N, ll A[], ll B[])
| ^~
teams.cpp:32:1: error: 'll' does not name a type
32 | ll zeta(ll a, ll b)
| ^~
teams.cpp:45:1: error: 'll' does not name a type
45 | ll dp[maxn];
| ^~
teams.cpp:46:1: error: 'll' does not name a type
46 | ll can(ll M, ll K[])
| ^~