perm.cpp: In function 'std::vector<int> construct_permutation(long long int)':
perm.cpp:34:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(ll i=0;i<x.size();i++)
| ~^~~~~~~~~
perm.cpp:38:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(ll i=0;i<x.size();i++)
| ~^~~~~~~~~
perm.cpp:29:15: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized]
29 | k-=((1<<h)-1);
| ~~^~~~