Submission #969522

# Submission time Handle Problem Language Result Execution time Memory
969522 2024-04-25T09:32:38 Z dubabuba Permutation (APIO22_perm) C++17
0 / 100
1 ms 344 KB
#include <bits/stdc++.h>
#include "perm.h"

using namespace std;

typedef long long i64;
typedef vector<int> vi;

vi construct_permutation(i64 k) {
	if(k > 5050) exit(1);
	vi a;
	for(int i = k; i > 0; i--)
		a.push_back(i - 1);
	return a;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -