Submission #978879

#TimeUsernameProblemLanguageResultExecution timeMemory
978879AybakPermutation (APIO22_perm)C++17
10 / 100
452 ms49300 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...