# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
583989 | YassineBenYounes | Permutation (APIO22_perm) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
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;
}