Submission #983865

# Submission time Handle Problem Language Result Execution time Memory
983865 2024-05-16T07:32:32 Z vjudge1 Permutation (APIO22_perm) C++17
0 / 100
0 ms 344 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 - i - 1;
	}
	return v;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Integer 2 violates the range [0, 1]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Integer 2 violates the range [0, 1]
2 Halted 0 ms 0 KB -