molecules.cpp:15:19: warning: overflow in conversion from 'double' to 'int' changes value from '9.0e+18' to '2147483647' [-Woverflow]
15 | const int MAX=9e18+7;
| ~~~~^~
molecules.cpp:16:15: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
16 | const int INF=1e18;
| ^~~~
molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:42:9: error: could not convert 'ans' from 'vector<long long int>' to 'vector<int>'
42 | return ans;
| ^~~
| |
| vector<long long int>