library.cpp: In function 'bool isgood(int)':
library.cpp:16:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for (int i = 0; i < m.size(); i++)
| ~~^~~~~~~~~~
library.cpp: In function 'void Solve(int)':
library.cpp:27:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
27 | while(m.size() < N)m.pb(1);
| ~~~~~~~~~^~~
library.cpp:45:20: warning: 'answ' may be used uninitialized in this function [-Wmaybe-uninitialized]
45 | swap(a[answ], a[a.size() - 1]);
| ^