minerals.cpp: In function 'void recurse(std::vector<int>&, int, int, bool)':
minerals.cpp:13:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (a.size() != m - l + 1 && b.size) != r - m) {
~~~~~~~~~^~~~~~~~~~~~
minerals.cpp:13:35: error: invalid use of member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]' (did you forget the '()' ?)
if (a.size() != m - l + 1 && b.size) != r - m) {
~~^~~~
minerals.cpp:13:41: error: expected primary-expression before '!=' token
if (a.size() != m - l + 1 && b.size) != r - m) {
^~
minerals.cpp:18:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
} else if (a.size() != m - l + 1) a.push_back(i);
~~~~~~~~~^~~~~~~~~~~~