cipele.cpp:1:39: error: 'vector' has not been declared
1 | bool check(long long x, int n, int m, vector<int>& A, vector<int>& B) {
| ^~~~~~
cipele.cpp:1:45: error: expected ',' or '...' before '<' token
1 | bool check(long long x, int n, int m, vector<int>& A, vector<int>& B) {
| ^
cipele.cpp: In function 'bool check(long long int, int, int, int)':
cipele.cpp:4:38: error: 'B' was not declared in this scope
4 | if (n > m) return check(x, m, n, B, A);
| ^
cipele.cpp:4:41: error: 'A' was not declared in this scope
4 | if (n > m) return check(x, m, n, B, A);
| ^
cipele.cpp:9:25: error: 'B' was not declared in this scope
9 | while (j < m && B[j] < A[i] - x) {
| ^
cipele.cpp:9:32: error: 'A' was not declared in this scope
9 | while (j < m && B[j] < A[i] - x) {
| ^
cipele.cpp:16:13: error: 'B' was not declared in this scope
16 | if (B[j] > A[i] + x) return false;
| ^
cipele.cpp:16:20: error: 'A' was not declared in this scope
16 | if (B[j] > A[i] + x) return false;
| ^