Problem secret
User PlayVoltz
Submission Time 2024-01-26 23:53:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

secret.cpp: In function ‘void build(int, int, int)’:
secret.cpp:15:16: error: ‘a’ was not declared in this scope
15 | ans[x][mid+1]=a[mid+1];
| ^
secret.cpp:22:2: error: ‘dnc’ was not declared in this scope
22 | dnc(x+1,l,mid);
| ^~~
secret.cpp: In function ‘int Query(int, int)’:
secret.cpp:34:17: error: ‘b’ was not declared in this scope
34 | if(l==r)return b[l];
| ^
secret.cpp:35:22: error: ‘msk’ was not declared in this scope; did you mean ‘mask’?
35 | int z=__builtin_ctz(msk[l]^msk[r]);
| ^~~
| mask
secret.cpp:36:16: error: ‘t’ was not declared in this scope
36 | return Secret(t[z][l],t[z][r]);
| ^