/ SeriousOJ /

Record Detail

Compile Error

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) {
      |                                                     ^

Information

Submit By
Type
Submission
Language
C++17 (G++ 13.2.0)
Submit At
2025-05-05 15:09:20
Judged At
2025-05-05 15:09:20
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes