Submission #1060904

#TimeUsernameProblemLanguageResultExecution timeMemory
1060904KasymKPermutation (APIO22_perm)C++17
10 / 100
341 ms51152 KiB
#include "bits/stdc++.h"
using namespace std;
#define ff first
#define ss second
#define all(v) v.begin(), v.end()
#define ll long long
#define pb push_back
#define pii pair<int, int>
#define wr puts("----------------")
template<class T>bool umin(T& a,T b){if(a>b){a=b;return 1;}return 0;}
template<class T>bool umax(T& a,T b){if(a<b){a=b;return 1;}return 0;}

vector<int> construct_permutation(ll k){
    vector<int> A;
    for(int i = k-2;  i >= 0; --i)
        A.pb(i);
    return A;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...