Submission #982723

#TimeUsernameProblemLanguageResultExecution timeMemory
982723vjudge1Permutation (APIO22_perm)C++17
Compilation error
0 ms0 KiB
#include "perm.h" #include <bits/stdc++.h> #define rep(a,b,c) for(int a=b; a<c; a++) #define repr(a,b,c) for(int a=b-1; a>c-1; a--) #define repa(a,b) for(auto a:b) #define fi first #define se second #define pii pair<int, int> #define ll long long #define pb push_back vector<int> construct_permutation(long long k){ vector<int> ans; if(k<=90) repr(i,k,0) ans.pb(i); return ans; }

Compilation message (stderr)

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