Problem laptop
User mentcletan
Submission Time 2025-01-02 09:30:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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