secret.cpp: In function 'void build(int, int, int)':
secret.cpp:10:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
10 | int m = l + r >> 1;
| ~~^~~
secret.cpp: In function 'void Init(int, int*)':
secret.cpp:22:5: error: 'n' was not declared in this scope
22 | n = N;
| ^
secret.cpp: In function 'int Query(int, int)':
secret.cpp:34:24: error: 'n' was not declared in this scope
34 | int l = 1, r = n, h = 0;
| ^
secret.cpp:37:28: error: expected primary-expression before '.' token
37 | int m = l + r >.> 1;
| ^
secret.cpp:37:29: error: expected unqualified-id before '>' token
37 | int m = l + r >.> 1;
| ^
secret.cpp:38:73: error: 'h' was not declared in this scope
38 | if (L + 1 <= m && m + 1 <= R + 1) return(Secret(pref[L + 1][h], pref[R + 1][h]));
| ^
secret.cpp:42:17: error: 'h' was not declared in this scope
42 | h++;
| ^
secret.cpp:47:17: error: 'h' was not declared in this scope
47 | h++;
| ^