Problem carpark
User justin271828
Submission Time 2024-05-22 15:40:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

carpark.cpp: In function ‘int main()’:
carpark.cpp:35:12: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
35 | if (zeros.size > 1) sort(zeros.begin(), zeros.end());
| ~~~~~~^~~~
| ()