Submission #731962

#TimeUsernameProblemLanguageResultExecution timeMemory
731962parsadox2Permutation (APIO22_perm)C++17
Compilation error
0 ms0 KiB
vector <int> construct_permutation(long long k) { vector <int> res; if(k <= 90) { for(int i = k - 2 ; i >= 0 ; i--) res.pb(i); } return res; }

Compilation message (stderr)

perm.cpp:1:1: error: 'vector' does not name a type
    1 | vector <int> construct_permutation(long long k)
      | ^~~~~~