Submission #984099

# Submission time Handle Problem Language Result Execution time Memory
984099 2024-05-16T10:05:23 Z Izaz Permutation (APIO22_perm) C++17
10 / 100
500 ms 51196 KB
#include <bits/stdc++.h>
using namespace std;

#define f first
#define s second
#define mn(a,b) min(a,b)
#define mx(a,b) max(a,b)
#define ll long long
vector<int> construct_permutation(long long  k)
{
	vector<int>A;
	for(int i = k-2;i>=0;i--){
		A.push_back(i);
	}
	return A;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 1 ms 348 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 1 ms 348 KB Output is correct
3 Incorrect 500 ms 51196 KB Integer 39992 violates the range [1, 5000]
4 Halted 0 ms 0 KB -