secret.cpp: In function 'void calc(int, int, int*)':
secret.cpp:25:21: error: expected primary-expression before ']' token
25 | calc(lb, mid, A[]);
| ^
secret.cpp:26:25: error: expected primary-expression before ']' token
26 | calc(mid + 1, rb, A[]);
| ^
secret.cpp: In function 'int Query(int, int)':
secret.cpp:38:22: error: 'A' was not declared in this scope
38 | if(L == R)return A[L - 1];
| ^
secret.cpp:52:17: error: 'l' was not declared in this scope
52 | l = mid;
| ^
secret.cpp: In function 'int main()':
secret.cpp:64:9: error: 'solve' was not declared in this scope
64 | solve();
| ^~~~~