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++)
......
25 | rep(i,A.size()) A[i]++;
| ~~~~~~~~~~
perm.cpp:25:6: note: in expansion of macro 'rep'
25 | rep(i,A.size()) A[i]++;
| ^~~
perm.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type]
29 | }
| ^