| Problem | carpark | 
|---|---|
| User | limzuwan | 
| Submission Time | 2023-06-10 12:49:02 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 carpark.cpp: In function ‘int main()’:
carpark.cpp:27:12: error: expected ‘;’ before ‘}’ token
   27 |      c = !c
      |            ^
      |            ;
   28 |     } else {
      |     ~       
carpark.cpp:45:5: error: request for member ‘pop_front’ in ‘x’, which is of non-class type ‘int’
   45 |   x.pop_front();
      |     ^~~~~~~~~
carpark.cpp:46:10: error: request for member ‘begin’ in ‘x’, which is of non-class type ‘int’
   46 |   sort(x.begin(), x.end());
      |          ^~~~~
carpark.cpp:46:21: error: request for member ‘end’ in ‘x’, which is of non-class type ‘int’
   46 |   sort(x.begin(), x.end());
      |                     ^~~
carpark.cpp:48:12: error: invalid types ‘int[int]’ for array subscript
   48 |    a += x[0];
      |            ^
carpark.cpp:49:6: error: request for member ‘pop_front’ in ‘x’, which is of non-class type ‘int’
   49 |    x.pop_front();
      |      ^~~~~~~~~