Problem | mergevectors |
---|---|
User | niicoletong |
Submission Time | 2025-06-17 22:34:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mergevectors.cpp: In function ‘int main()’:
mergevectors.cpp:12:9: error: ‘A’ was not declared in this scope
12 | A.push_back(x);
| ^
mergevectors.cpp:17:9: error: ‘B’ was not declared in this scope
17 | B.push_back(x);
| ^
mergevectors.cpp:24:13: error: ‘A’ was not declared in this scope
24 | if (A[i] <= B[j]) {
| ^
mergevectors.cpp:24:21: error: ‘B’ was not declared in this scope
24 | if (A[i] <= B[j]) {
| ^
mergevectors.cpp:34:26: error: ‘A’ was not declared in this scope
34 | merged.push_back(A[i]);
| ^
mergevectors.cpp:39:26: error: ‘B’ was not declared in this scope
39 | merged.push_back(B[j]);
| ^
mergevectors.cpp:48:1: error: expected ‘}’ at end of input
48 | }
| ^
mergevectors.cpp:4:12: note: to match