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++)
......
30 | rep(i,A.size()) A[i]++;
| ~~~~~~~~~~
perm.cpp:30:6: note: in expansion of macro 'rep'
30 | rep(i,A.size()) 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++)
......
37 | rep(i,A.size()) A[i]++;
| ~~~~~~~~~~
perm.cpp:37:6: note: in expansion of macro 'rep'
37 | rep(i,A.size()) 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++)
......
46 | rep(i,A.size()){
| ~~~~~~~~~~
perm.cpp:46:13: note: in expansion of macro 'rep'
46 | rep(i,A.size()){
| ^~~
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++)
......
53 | rep(i,A.size()) if(A[i]>=2) A[i]++;
| ~~~~~~~~~~
perm.cpp:53:14: note: in expansion of macro 'rep'
53 | rep(i,A.size()) if(A[i]>=2) 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++)
......
59 | rep(i,A.size()) A[i]++;
| ~~~~~~~~~~
perm.cpp:59:6: note: in expansion of macro 'rep'
59 | rep(i,A.size()) 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++)
......
62 | rep(i,A.size()) A[i]++;
| ~~~~~~~~~~
perm.cpp:62:6: note: in expansion of macro 'rep'
62 | rep(i,A.size()) A[i]++;
| ^~~
perm.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
66 | }
| ^