Submission #724084

#TimeUsernameProblemLanguageResultExecution timeMemory
724084AlfaGenusPermutation (APIO22_perm)C++17
Compilation error
0 ms0 KiB
vector<int> construct_permutation(n){ vector<int> ans(n); for(int i = 0; i < n; i ++) ans[i] = n - i - 1; return ans; }

Compilation message (stderr)

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