molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:7:21: 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 '()' ?)
7 | for(int i = 0;i<=w.size;i++){
| ~~^~~~
| ()
molecules.cpp:8:33: error: expected ';' before '}' token
8 | x.push_back(make_pair(w[i],i))
| ^
| ;
9 | }
| ~