Problem | commonsubseq |
---|---|
User | darius0 |
Submission Time | 2024-12-16 10:31:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
commonsubseq.cpp: In function ‘int main()’:
commonsubseq.cpp:22:26: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = std::pair<long long int, long long int>; _Alloc = std::allocator<std::pair<long long int, long long int> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
22 | for(int i = 0; i < asum.size; i++){
| ~~~~~^~~~
| ()
commonsubseq.cpp:23:27: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = std::pair<long long int, long long int>; _Alloc = std::allocator<std::pair<long long int, long long int> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
23 | for(int j = i; j < bsum.size; j++){