# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
983191 | Kenjikrab | Permutation (APIO22_perm) | C++17 | 2 ms | 348 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "perm.h"
#include<bits/stdc++.h>
using namespace std;
deque<int> find_p(long long k,int shift)
{
deque<int> ret;
if(k==2)
{
ret.push_back(shift);
return ret;
}
if(k==3)
{
ret.push_back(shift+1);
ret.push_back(shift);
return ret;
}
if(k==5)
{
ret.push_back(shift+1);
ret.push_back(shift+2);
ret.push_back(shift);
return ret;
}
if(k==17)
{
ret.push_back(shift+4);
ret.push_back(shift);
ret.push_back(shift+1);
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |