Submission #982723

# Submission time Handle Problem Language Result Execution time Memory
982723 2024-05-14T16:41:09 Z vjudge1 Permutation (APIO22_perm) C++17
Compilation error
0 ms 0 KB
#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

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