| Problem | carpark |
|---|---|
| User | ethantanaki |
| Submission Time | 2026-07-11 10:03:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
carpark.cpp: In function ‘int main()’:
carpark.cpp:13:7: error: request for member ‘push’ in ‘pos’, which is of non-class type ‘int [N]’
13 | pos.push(binary);
| ^~~~
carpark.cpp:20:12: error: request for member ‘size’ in ‘gap’, which is of non-class type ‘int [N]’
20 | int b=gap.size();
| ^~~~
carpark.cpp:22:6: error: ‘i’ was not declared in this scope
22 | for(i=0;i<S-covered;i++) x+=gap[i];
| ^