Submission #993066

#TimeUsernameProblemLanguageResultExecution timeMemory
993066thelegendary08Permutation (APIO22_perm)C++17
10 / 100
365 ms51280 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...