Submission #744342

#TimeUsernameProblemLanguageResultExecution timeMemory
744342amirhoseinfar1385Permutation (APIO22_perm)C++17
10 / 100
1 ms300 KiB
//#include "perm.h" #include<bits/stdc++.h> using namespace std; vector<int> construct_permutation(long long k) { if(k>90){ return {}; } vector<int>res(k-1); for(int i=0;i<k-1;i++){ res[i]=(k-2)-i; // cout<<i<<" "<<res[i]<<"\n"; } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...