Submission #572906

#TimeUsernameProblemLanguageResultExecution timeMemory
572906moday_morningPermutation (APIO22_perm)C++17
Compilation error
0 ms0 KiB
#include "perm.h" #include <bits/stdc++.h> vector<int> construct_permutation(long long k) { // k <= 90 vector <int> ans = {}; for (int i = k - 2; i >= 0; i--) { ans.push_back(i); } return ans; }

Compilation message (stderr)

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