답안 #982723

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
982723 2024-05-14T16:41:09 Z vjudge1 순열 (APIO22_perm) C++17
컴파일 오류
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){
      | ^~~~~~