foo.cc: In function 'std::string canRearrange(std::vector<int>&, std::vector<int>&)':
foo.cc:38:17: error: expected ';' at end of input
38 | bVal
| ^
| ;
foo.cc:38:17: error: expected '}' at end of input
foo.cc:26:37: note: to match this '{'
26 | if (usedA < N && usedB < N) {
| ^
foo.cc:38:17: error: expected '}' at end of input
38 | bVal
| ^
foo.cc:20:24: note: to match this '{'
20 | while (!q.empty()) {
| ^
foo.cc:38:17: error: expected '}' at end of input
38 | bVal
| ^
foo.cc:7:53: note: to match this '{'
7 | string canRearrange(vector<int>& A, vector<int>& B) {
| ^