secret.cpp: In function 'void calc(int, int, int*)':
secret.cpp:19:21: error: expected primary-expression before ']' token
19 | calc(lb, mid, A[]);
| ^
secret.cpp:20:25: error: expected primary-expression before ']' token
20 | calc(mid + 1, rb, A[]);
| ^
secret.cpp: In function 'int Query(int, int)':
secret.cpp:32:22: error: 'A' was not declared in this scope
32 | if(L == R)return A[L - 1];
| ^
secret.cpp:46:17: error: 'l' was not declared in this scope
46 | l = mid;
| ^
secret.cpp: In function 'int main()':
secret.cpp:53:5: error: 'ios_base' has not been declared
53 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
secret.cpp:54:5: error: 'cin' was not declared in this scope
54 | cin.tie(0);
| ^~~
secret.cpp:58:9: error: 'solve' was not declared in this scope
58 | solve();
| ^~~~~