#include<bits/stdc++.h>
#include "perm.h"
using namespace std;
#define MOD 1000000007
#define ff first
#define ss second
#define endl '\n'
vector<int> construct_permutation(long long k){
vector<int> v;
for(int i=k-2; i>=0; i--) v.push_back(i);
return v;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Correct |
1 ms |
472 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Correct |
1 ms |
472 KB |
Output is correct |
3 |
Incorrect |
477 ms |
51320 KB |
Integer 39992 violates the range [1, 5000] |
4 |
Halted |
0 ms |
0 KB |
- |