secret.cpp: In function 'void Init(int, int*)':
secret.cpp:27:32: error: expected primary-expression before ']' token
27 | function<void(ll,ll)> build [&](ll l,ll r){
| ^
secret.cpp:28:3: error: expected primary-expression before 'if'
28 | if(l>=r)return ;
| ^~
secret.cpp:28:3: error: expected '}' before 'if'
secret.cpp:27:44: note: to match this '{'
27 | function<void(ll,ll)> build [&](ll l,ll r){
| ^
secret.cpp:29:11: error: 'l' was not declared in this scope
29 | ll mid=(l+r)/2;
| ^
secret.cpp:29:13: error: 'r' was not declared in this scope
29 | ll mid=(l+r)/2;
| ^
secret.cpp:30:3: error: 'build' was not declared in this scope
30 | build(l,mid);build(mid+1,r);
| ^~~~~
secret.cpp: At global scope:
secret.cpp:36:7: error: expected constructor, destructor, or type conversion before '(' token
36 | build(0,n);
| ^
secret.cpp:37:1: error: expected declaration before '}' token
37 | }
| ^
secret.cpp: In function 'int Query(int, int)':
secret.cpp:55:13: error: 'n' was not declared in this scope
55 | return q(0,n,L,R+1);
| ^