molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:12:10: error: 'all' was not declared in this scope
12 | sort(all(a));
| ^~~
molecules.cpp:12:10: note: suggested alternatives:
In file included from /usr/include/c++/11/filesystem:44,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:129,
from molecules.cpp:1:
/usr/include/c++/11/bits/fs_fwd.h:154:7: note: 'std::filesystem::perms::all'
154 | all = 0777,
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:146,
from molecules.cpp:1:
/usr/include/c++/11/ranges:1130:27: note: 'std::ranges::views::all'
1130 | inline constexpr _All all;
| ^~~
molecules.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~
molecules_c.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~