perm.cpp: In function 'std::vector<int> construct_permutation(long long int)':
perm.cpp:11:30: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i,n) for(ll i=0;i<n;i++)
......
31 | rep(i,A.size()) sum+=A[i];
| ~~~~~~~~~~
perm.cpp:31:2: note: in expansion of macro 'rep'
31 | rep(i,A.size()) sum+=A[i];
| ^~~
perm.cpp:11:30: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i,n) for(ll i=0;i<n;i++)
......
34 | rep(i,A.size()){
| ~~~~~~~~~~
perm.cpp:34:2: note: in expansion of macro 'rep'
34 | rep(i,A.size()){
| ^~~