secret.cpp:27:7: error: 'MAXN' was not declared in this scope
27 | int X[MAXN];
| ^~~~
secret.cpp:28:15: error: 'MAXN' was not declared in this scope
28 | int dat[LOGN][MAXN];
| ^~~~
secret.cpp:29:10: error: 'MAXN' was not declared in this scope
29 | int mask[MAXN];
| ^~~~
secret.cpp: In function 'void divi(int, int, int)':
secret.cpp:36:5: error: 'dat' was not declared in this scope
36 | dat[lev][m] = X[m];
| ^~~
secret.cpp:36:19: error: 'X' was not declared in this scope
36 | dat[lev][m] = X[m];
| ^
secret.cpp:43:18: error: 'i' was not declared in this scope
43 | dat[lev][i] = Secret(dat[lev][i - 1], X[i]);
| ^
secret.cpp:46:22: error: 'mask' was not declared in this scope; did you mean 'std::filesystem::perms::mask'?
46 | FOR(i,m + 1 , r) mask[i] ^= (1 << lev);
| ^~~~
| std::filesystem::perms::mask
In file included from /usr/include/c++/13/filesystem:48,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:200,
from secret.cpp:1:
/usr/include/c++/13/bits/fs_fwd.h:158:7: note: 'std::filesystem::perms::mask' declared here
158 | mask = 07777,
| ^~~~
secret.cpp: In function 'void Init(int, int*)':
secret.cpp:53:19: error: 'X' was not declared in this scope
53 | FOR(i,0,N -1) X[i] = A[i];
| ^
secret.cpp: In function 'int Query(int, int)':
secret.cpp:58:24: error: 'X' was not declared in this scope
58 | if (L == R) return X[L];
| ^
secret.cpp:59:29: error: 'mask' was not declared in this scope; did you mean 'std::filesystem::perms::mask'?
59 | int lev = __builtin_ctz(mask[L] ^ mask[R]);
| ^~~~
| std::filesystem::perms::mask
/usr/include/c++/13/bits/fs_fwd.h:158:7: note: 'std::filesystem::perms::mask' declared here
158 | mask = 07777,
| ^~~~
secret.cpp:60:19: error: 'dat' was not declared in this scope
60 | return Secret(dat[lev][L], dat[lev][R]);
| ^~~