perm.cpp: In function 'std::vector<int> construct_permutation(int64_t)':
perm.cpp:19:18: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and '__int128 unsigned' [-Wsign-compare]
19 | while (x >= (((ONE<<i)-1))) {
| ~~^~~~~~~~~~~~~~~~~
perm.cpp:25:19: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for (int i=1;i<=v.size();i++) {
| ~^~~~~~~~~~
perm.cpp:36:19: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for (int i=0;i<al.size();i++) {
| ~^~~~~~~~~~
perm.cpp:16:9: warning: unused variable 'cnt' [-Wunused-variable]
16 | int cnt=0;
| ^~~
/usr/bin/ld: /tmp/ccWLpiAT.o: in function `main':
grader.cpp:(.text.startup+0x240): undefined reference to `construct_permutation(long long)'
collect2: error: ld returned 1 exit status