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>
#define vi vector<int>
#define f0r(i, n) for(int i = 0;i<n;i++)
#define pb push_back
using namespace std;
std::vector<int> construct_permutation(long long k)
{
vi ans;
f0r(i, k-1)ans.pb(i);
reverse(ans.begin(), ans.end());
return ans;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |