perm.cpp: In function 'std::vector<int> construct_permutation(long long int)':
perm.cpp:14:38: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for (long long j=0; j<res1.size(); j++)
| ~^~~~~~~~~~~~
perm.cpp:16:38: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for (long long j=0; j<res2.size(); j++)
| ~^~~~~~~~~~~~
perm.cpp:37:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (long long j=0; j<res2.size(); j++)
| ~^~~~~~~~~~~~
perm.cpp:39:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for (long long j=0; j<res2.size(); j++)
| ~^~~~~~~~~~~~