secret.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
2 | #include #include "secret.h"
| ^
secret.cpp: In function 'void divide(int, int, int, int*)':
secret.cpp:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
9 | if (L == R) return ; int mid = (L + R) / 2;
| ^~
secret.cpp:9:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
9 | if (L == R) return ; int mid = (L + R) / 2;
| ^~~
secret.cpp:11:75: error: 'Secret' was not declared in this scope
11 | dat[lev][mid] = mid; for (int i = mid - 1; i >= L; i--) dat[lev][i] = Secret(A[i], dat[lev][i + 1]);
| ^~~~~~
secret.cpp:12:83: error: 'Secret' was not declared in this scope
12 | dat[lev][mid + 1] = mid + 1; for (int i = mid + 2; i <= R; i++) dat[lev][i] = Secret(A[i], dat[lev][i - 1]);
| ^~~~~~
secret.cpp: In function 'int Query(int, int)':
secret.cpp:21:56: error: 'Secret' was not declared in this scope
21 | int lev = __builtin_ctz(mask[L] ^ mask[R]); return Secret(dat[lev][L], dat[lev][R]);
| ^~~~~~