Submission #980682

#TimeUsernameProblemLanguageResultExecution timeMemory
980682MalixPermutation (APIO22_perm)C++17
10 / 100
485 ms51364 KiB
#include "perm.h" #include <bits/stdc++.h> using namespace std; typedef unsigned long long ll; typedef vector<int> vi; typedef vector<vi> vii; typedef pair<int,int> pi; typedef vector<pi> pii; #define REP(i,a,b) for(int i=a;i<b;i++) #define F first #define S second #define PB push_back #define MP make_pair ll INF=1e18+10; std::vector<int> construct_permutation(long long k) { vi ans; REP(i,0,k-1)ans.PB(i); reverse(ans.begin(),ans.end()); return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...