# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1134146 | sohamsen15 | Permutation (APIO22_perm) | C++20 | 0 ms | 320 KiB |
#include "perm.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
vector<int> construct_permutation(ll k) {
vector<int> a(k - 1);
for (int i = 0; i < k - 1; i++) a[i] = k - 1 - i;
return a;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |