| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1225036 | PanosPask | Permutation (APIO22_perm) | C++20 | 1 ms | 324 KiB |
#include "perm.h"
using namespace std;
typedef long long ll;
vector<int> construct_permutation(ll k)
{
if (k > 100) {
return {};
}
int len = k - 1;
vector<int> p(len);
for (int i = 0; i < len; i++) {
p[i] = len - i - 1;
}
return p;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
