secret.cpp:6:7: error: 'N' was not declared in this scope
6 | int v[N];
| ^
secret.cpp:13:6: error: variable or field 'build' declared void
13 | void build(ll lx,ll rx,int x)
| ^~~~~
secret.cpp:13:12: error: 'll' was not declared in this scope
13 | void build(ll lx,ll rx,int x)
| ^~
secret.cpp:13:18: error: 'll' was not declared in this scope
13 | void build(ll lx,ll rx,int x)
| ^~
secret.cpp:13:24: error: expected primary-expression before 'int'
13 | void build(ll lx,ll rx,int x)
| ^~~
secret.cpp: In function 'void Init(int, int*)':
secret.cpp:33:9: error: 'll' was not declared in this scope
33 | for(ll i=0;i<n;i++) v[i] = a[i];
| ^~
secret.cpp:33:16: error: 'i' was not declared in this scope
33 | for(ll i=0;i<n;i++) v[i] = a[i];
| ^
secret.cpp:33:25: error: 'v' was not declared in this scope
33 | for(ll i=0;i<n;i++) v[i] = a[i];
| ^
secret.cpp:34:5: error: 'build' was not declared in this scope
34 | build(0,0,n-1);
| ^~~~~
secret.cpp: In function 'int get(int, int, int, int, int)':
secret.cpp:38:25: error: 'v' was not declared in this scope
38 | if(lx == rx) return v[lx];
| ^
secret.cpp:42:28: error: 'suff' was not declared in this scope; did you mean 'suf'?
42 | return ask(pref[x][l], suff[x][r]);
| ^~~~
| suf