Submission #573442

#TimeUsernameProblemLanguageResultExecution timeMemory
573442sumit_kk10Permutation (APIO22_perm)C++17
10 / 100
591 ms51236 KiB
#include "perm.h" #include<bits/stdc++.h> #define pb push_back #define F first #define S second using namespace std; const int N = 1e6 + 5, MOD = 1e9 + 7; std::vector<int> construct_permutation(long long k) { vector<int> ans; for(int i = k - 2; i >= 0; --i) ans.pb(i); return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...