# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
978879 | Aybak | Permutation (APIO22_perm) | C++17 | 452 ms | 49300 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.
#include "perm.h"
#include <vector>
std::vector<int> construct_permutation(long long k) {
std::vector<int> out(k - 1);
for (long long i = 0; i < k - 1; ++i) {
out[i * -1 + k - 2] = i; }
return out; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |