perm.cpp: In function 'std::vector<int> construct_permutation(long long int)':
perm.cpp:18:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int j=0;j<ans.size();j++) if(ans[j]>=i) ans[j]++;
| ~^~~~~~~~~~~
perm.cpp:21:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int j=0;j<ans.size();j++) if(ans[j]>=i) ans[j]++;
| ~^~~~~~~~~~~