Submission #969533

#TimeUsernameProblemLanguageResultExecution timeMemory
969533akacool445kPermutation (APIO22_perm)C++17
0 / 100
1 ms348 KiB
#include <bits/stdc++.h> #include "perm.h" using namespace std; // #define int long long #define ll long long #define ff first #define ss second #define pint pair < double , int > #define vint vector < int > #define fast ios_base::sync_with_stdio(NULL); cin.tie(NULL) const double inf = 1e18 + 9; const int mxn = 2e5 + 2; const int mod = 1e9 + 7; vector<int> construct_permutation(long long k) { vector<int> v(k - 1); for(int i = k - 2; i > 0; i--) { v.push_back(i); } v.push_back(k - 1); return v; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...