foo.cc: In member function 'int SortedSeqList::Find(int)':
foo.cc:20:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (int i = 0; i < a.size(); i++)
| ~~^~~~~~~~~~
foo.cc: In member function 'void SortedSeqList::Delete(int)':
foo.cc:27:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i = k; i < a.size() - 1; i++)
| ~~^~~~~~~~~~~~~~
foo.cc: In member function 'SortedSeqList SortedSeqList::Merge(SortedSeqList&)':
foo.cc:56:3: error: 'SeqList' was not declared in this scope
56 | SeqList L1;
| ^~~~~~~
foo.cc:63:5: error: 'L1' was not declared in this scope; did you mean 'L'?
63 | L1.a.push_back(a[i]),i++;
| ^~
| L
foo.cc:65:5: error: 'L1' was not declared in this scope; did you mean 'L'?
65 | L1.a.push_back(L.a[j]),j++;
| ^~
| L
foo.cc:68:4: error: 'L1' was not declared in this scope; did you mean 'L'?
68 | L1.a.push_back(a[i]),i++;
| ^~
| L
foo.cc:70:4: error: 'L1' was not declared in this scope; did you mean 'L'?
70 | L1.a.push_back(L.a[j]),j++;
| ^~
| L
foo.cc:71:10: error: 'L1' was not declared in this scope; did you mean 'L'?
71 | return L1;
| ^~
| L
[Hydro](https://hydro.ac)提供评测服务