답안 #983869

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
983869 2024-05-16T07:33:03 Z vjudge1 순열 (APIO22_perm) C++17
10 / 100
530 ms 49108 KB
#include "perm.h"
#include<bits/stdc++.h>
using namespace std;
vector<int> construct_permutation(long long k)
{
	vector<int> v(k - 1);
	for (int i = 0; i < k - 1; i++) {
		v[i] = k - 2 - i;
	}
	return v;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 1 ms 344 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 1 ms 344 KB Output is correct
3 Incorrect 530 ms 49108 KB Integer 39992 violates the range [1, 5000]
4 Halted 0 ms 0 KB -