perm.cpp: In function 'std::vector<int> construct_permutation(long long int)':
perm.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int i = 0 ; i < v.size() ; i++)
| ~~^~~~~~~~~~
perm.cpp:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i = 0 ; i < V.size() ;i++)
| ~~^~~~~~~~~~
perm.cpp:66:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for(int i = 0 ; i < V.size() ; i++)
| ~~^~~~~~~~~~
perm.cpp:15:9: warning: unused variable 'B' [-Wunused-variable]
15 | int B;
| ^