molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=0;i<arr.size();i++)
| ~^~~~~~~~~~~
molecules.cpp:55:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
55 | for(auto x:deq)
| ^~~
molecules.cpp:57:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
57 | for(int rr:res)
| ^~~
molecules.cpp:61:20: warning: division by zero [-Wdiv-by-zero]
61 | int x=1/0;
| ~^~
molecules.cpp:61:17: warning: unused variable 'x' [-Wunused-variable]
61 | int x=1/0;
| ^
molecules.cpp:64:20: warning: division by zero [-Wdiv-by-zero]
64 | int x=1/0;
| ~^~
molecules.cpp:64:17: warning: unused variable 'x' [-Wunused-variable]
64 | int x=1/0;
| ^