# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
583991 | 2022-06-26T15:56:16 Z | YassineBenYounes | 순열 (APIO22_perm) | C++17 | 0 ms | 0 KB |
#include<bits/stdc++.h> using namespace std; int[] construct_permutation(long long k){ k--; k--; int arr[k+1]; int index = 0; for(int i = k; i >= 0;i--){ arr[index] = i; index++; } return arr; }