molecules.cpp:40:3: warning: "/*" within comment [-Wcomment]
40 | ///*
|
molecules.cpp: In function 'std::vector<long long int> find_subset(long long int, long long int, std::vector<long long int>)':
molecules.cpp:12:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for (int i = 0; i < w.size(); i++){
| ~~^~~~~~~~~~
molecules.cpp:16:12: error: declaration of 'long long int l' shadows a parameter
16 | ll l = 0, sum = 0;
| ^
molecules.cpp:17:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (int i = 0; i < w.size(); i++){
| ~~^~~~~~~~~~
molecules.cpp:11:30: warning: control reaches end of non-void function [-Wreturn-type]
11 | vector<pair<ll, ll>> a;
| ^