This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "perm.h"
#include<bits/stdc++.h>
using namespace std;
vector<int> construct_permutation(long long int k)
{
vector<int> s;
for(int i=0;i<k-1;i++){
s.push_back(k-i-2);
}
return s;
}
/*
int main(){
vector<int> answer = construct_permutation(3);
for(int i:answer) cout << i << " ";
}*/
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |