| Problem | boxes3 |
|---|---|
| User | WANCH5789W |
| Submission Time | 2026-06-04 11:38:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
boxes3.cpp: In function ‘int main()’:
boxes3.cpp:22:34: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
22 | for (int j = 0; j < spaces[pos].size; j++) {
| ()
boxes3.cpp:23:45: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
23 | if (spaces[j] > spaces[j+1] && spaces[pos].size >= 2){
| ()