# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
583989 | 2022-06-26T15:54:38 Z | YassineBenYounes | Permutation (APIO22_perm) | C++17 | 0 ms | 0 KB |
int[] construct_permutation(ll k){ k--; k--; int arr[k+1]; int index = 0; for(int i = k; i >= 0;i--){ arr[index] = i; index++; } return arr; }