Problem knockingdominoes_ex
User suzienguyen
Submission Time 2026-06-25 10:44:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knockingdominoes_ex.cpp: In function ‘int32_t main()’:
knockingdominoes_ex.cpp:28:16: 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 ‘()’ ?)
28 | for (int i=v.size-1; i>=v2[1]; i--) v.pop_back();
| ~~^~~~
| ()